Peter Stephenson
aa622e0801
users/19682: document recommended use of whence
2015-01-04 00:28:03 +00:00
Peter Stephenson
454bb777cf
users/19671: remove confusion with whence -a.
...
If the argument is a full path don't try to search the path for it.
2015-01-02 22:25:24 +00:00
Peter Stephenson
33d1439fdb
users/19667: whence -S shows intermediate steps in symlink expansion
2015-01-02 21:32:51 +00:00
Peter Stephenson
b83aa727ca
34077: further tests for return status from "for" loops
2015-01-02 21:16:41 +00:00
Mikael Magnusson
2194da18c7
33963: remove work of art in _mount
2014-12-29 08:34:34 +01:00
Daniel Shahaf
e11ad500dd
34070: fix starting position for memset() from 34005.
2014-12-28 20:11:09 -08:00
Barton E. Schaefer
33b3958064
34068: create tempfiles without forking, and safe temp directory creation
2014-12-28 00:49:08 -08:00
Barton E. Schaefer
200accac63
34067: safe tempfile creation, part 1
2014-12-27 23:59:29 -08:00
Takeshi Banse
1cd8023570
34064: assignment before command replaces array with export even when KSH_ARRAYS
2014-12-27 22:05:05 -08:00
Barton E. Schaefer
d6a32ddeed
34065: following an "if" condition, do not test lastval for ERR_EXIT until a new command is run
...
Includes unposted regression tests.
2014-12-27 21:55:58 -08:00
Daniel Shahaf
89c692eafb
33977: don't complete widgets as first argument to bindkey
2014-12-21 22:23:06 +01:00
Peter Stephenson
89012cf94c
34015: disallow strange environment variable names.
...
These are ones with the top bit set in any character.
Don't import them, and don't export them.
2014-12-19 22:15:24 +00:00
Peter Stephenson
fd934e1187
34005: region_highlights memory fix
...
Zero uninitialised part of memory when reallocing
2014-12-19 21:55:31 +00:00
Barton E. Schaefer
95381783e9
34002: zshcalloc() in init_keymaps()
2014-12-18 18:58:25 -08:00
Barton E. Schaefer
bf075b9e0d
33992: do not attempt attachtty() for process group zero (which is possible in a linux pid namespace)
2014-12-18 18:58:25 -08:00
Peter Stephenson
ecef922df1
34008: metafy the environment on arrival in the shell
2014-12-18 19:55:53 +00:00
Peter Stephenson
f3cb9a7754
34006: unmetafy anything put into the environment
2014-12-18 19:36:03 +00:00
Lokesh Mandvekar
e9a640802d
33999: remove docker completion.
...
Versions supplied with docker is authoritative, so version in zsh
is just a potential hazard to the unwary.
2014-12-18 19:15:36 +00:00
Peter Stephenson
04e555a92e
33981: more care with region_highlights management
2014-12-18 18:54:55 +00:00
Jun-ichi Takimoto
fe51f39dad
33978: avoid infinite loop in interactive mode
...
Update command line when accept-and-hold is called in the
interactive mode of menu select.
2014-12-18 03:49:51 +09:00
Peter Stephenson
4042640eee
zsh-users/19551: history documentation.
...
Note in a couple of places that history file reading and writing
is only done in interactive shells.
2014-12-17 10:53:13 +00:00
Jun Kuriyama
e12b515082
33984: bin_dirs() should use zputs() to print metafied directory names
2014-12-16 23:40:32 -08:00
Chirantan Ekbote
0c4cb0cc1b
33982: minimal support for pid namespaces by recognizing that GETPGRP() may return 0
2014-12-16 23:35:57 -08:00
Barton E. Schaefer
36ec763dbd
33976: fix overlapping strcpy()
2014-12-15 16:41:08 -08:00
Mikael Magnusson
409f069a6a
users/19530: Handle commented lines in /etc/filesystems
2014-12-14 19:48:03 +01:00
Peter Stephenson
5b855e40bd
unposted: Add missing -f arg to zsh in D04parameter.ztst
2014-12-14 00:06:47 +00:00
Oliver Kiddle
3b7061e4e4
33958: update sudo completion for newer options
2014-12-13 20:04:02 +01:00
Oliver Kiddle
1e0064e58b
33956: document key binding changes and remove ^X binding
2014-12-13 19:34:24 +01:00
Oliver Kiddle
5b7950e6ef
33846: additional default vi-mode key bindings
2014-12-13 19:32:55 +01:00
Oliver Kiddle
edb9c94025
33950: ignore KEYTIMEOUT for vi operators
2014-12-12 14:14:00 +01:00
Peter Stephenson
d067ebcacd
33876: etc.: Separate errors and keyboards interrupts
...
Combination of 12 commits from interrupt_abort branch.
Basic strategy is to introduce bits to errflag and to set and
reset them separately.
Remove interrupt status on return to main keymap.
Turn off ERRFLAG_INT for always block.
Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.
Add TRY_BLOCK_INTERRUPT
This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.
Ensure propagation of SIGINT from exited job.
If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.
Reset errflag before precmd()
Add always block in _main_completion to fix ZLS_COLORS
Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt. However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +00:00
Mikael Magnusson
247f7548dc
Parse "Gentoo" as being GNU libc
2014-12-10 15:20:51 +01:00
Jun-ichi Takimoto
45d0046d8f
33940: handle backslash-meta correctly in lexer
2014-12-10 08:20:40 +09:00
Jun-ichi Takimoto
0a07ffd47c
33932: revise boundary check in unmeta()
2014-12-09 02:41:01 +09:00
Oliver Kiddle
88f4e24d4c
33924: allow vi line/characterwise mode to be forced
2014-12-08 17:24:48 +01:00
Peter Stephenson
53e44daeba
33927: nm completion improvements
...
Complete .elf files.
Allow directory searches.
2014-12-08 09:53:10 +00:00
Peter Stephenson
a4799145da
33843: minor optimisation for recursive-files.
...
Expand the recursive path only the first time we need it.
2014-12-08 09:46:30 +00:00
Barton E. Schaefer
09959eb9d6
33912: fix filename default case
...
version-of-od argument list manipulation clobbered the default spec
2014-12-07 11:20:01 -08:00
Barton E. Schaefer
5e9206061d
33901: fix warning message reference to funcstack (updates 33859)
2014-12-07 11:20:01 -08:00
Barton E. Schaefer
48cd1b6c3b
33894: boundary conditions in unmeta(), unmetafy()
...
Check that we aren't running off the end of the string when converting the
next byte after a Meta byte. This is just defensive programming in case
of bad metafied strings coming through from gettokstr(), some repairs
there are likely still needed.
2014-12-07 11:20:01 -08:00
Barton E. Schaefer
9ddd022ff0
33854: errors end recursion through scanner()
...
Makes **/ more easily interruptible
2014-12-07 11:20:01 -08:00
Daniel Shahaf
908abba891
33883: documentation for (*) glob qualifier
2014-12-07 16:13:39 +00:00
Jun-ichi Takimoto
0da4b11add
33829: unbind ESC~ as a more reliable workaround
2014-12-07 16:31:48 +09:00
Mikael Magnusson
b9a2a3767c
33882: Complete CXXFLAGS as CFLAGS too
2014-12-06 11:42:23 +01:00
Oliver Kiddle
167a15a920
33861: update lsof completion for new options
2014-12-05 20:16:23 +01:00
Oliver Kiddle
7a4a309973
33860: minor fixes to vi mode changes
2014-12-05 20:13:33 +01:00
Oliver Kiddle
b0a659e710
33845: save correct cursor position with push-line from vi command mode
2014-12-05 20:13:32 +01:00
Peter Stephenson
02a8a8c7e4
33866: addendum to completion trap fix
...
We need the multifuncdef option on for the trap function definitions to
work. It is by default by this wasn't enforced for the completion
functions.
2014-12-05 18:08:18 +00:00
Peter Stephenson
b4a198cdda
33859: Fix traps in completion
...
We need to use a function-style trap in order for the effect of the
interrupt to propagate back correctly.
2014-12-05 17:06:28 +00:00
Barton E. Schaefer
231cbbc5b1
33841: explain array append a bit better
2014-12-04 02:18:36 -08:00