Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | users/19671: remove confusion with whence -a. | Peter Stephenson | 2015-01-02 | 1 | -1/+1 |
| | | | | If the argument is a full path don't try to search the path for it. | ||||
* | users/19667: whence -S shows intermediate steps in symlink expansion | Peter Stephenson | 2015-01-02 | 1 | -6/+6 |
| | |||||
* | 33984: bin_dirs() should use zputs() to print metafied directory names | Jun Kuriyama | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 33656: different algorithm for "whence -am" to produce results more ↵ | Barton E. Schaefer | 2014-11-13 | 1 | -44/+30 |
| | | | | | | | | consistent with "whence -m" This uses the scanmatchtable routine to collect the names that match the input pattern, then uses the original -a path search loop to generate the output, to avoid duplicating test conditions and output formats. | ||||
* | Handle -a option to whence in combination with -m. | Peter Stephenson | 2014-11-08 | 1 | -5/+41 |
| | |||||
* | 33429: disallow non-integer values for HISTSIZE and SAVEHIST of "fc -p", and ↵ | Barton E. Schaefer | 2014-10-10 | 1 | -4/+13 |
| | | | | fix crash on zero values for same | ||||
* | 33323: fix bug in removing math functions and complete -M option to functions | Oliver Kiddle | 2014-10-02 | 1 | -1/+3 |
| | |||||
* | 32918: add %. to ztrftime for use in prompts | Peter Stephenson | 2014-07-30 | 1 | -1/+1 |
| | |||||
* | unposted (see 32892): 'fc -I' is an error | Barton E. Schaefer | 2014-07-24 | 1 | -0/+4 |
| | |||||
* | 32624: use correct scaling factor (clock ticks) for times | Peter Stephenson | 2014-05-29 | 1 | -2/+4 |
| | |||||
* | 32479: POSIXTRAPS and implicit return values. | Peter Stephenson | 2014-03-14 | 1 | -2/+9 |
| | | | | | | With POSIXTRAPS never propagate implicit return value. In any case if not forcing a return value don't use lastval from within the trap, use the one from the surrounding code. | ||||
* | 32246: option "shift -p" pops arguments from end of array | Peter Stephenson | 2014-01-11 | 1 | -6/+25 |
| | |||||
* | 31706: standardize handling of "test ! <x> <y> <z>" | Peter Stephenson | 2013-09-06 | 1 | -3/+10 |
| | |||||
* | 31637: be more selective about retry of lchdir() in cd_do_chdir() | Barton E. Schaefer | 2013-08-18 | 1 | -1/+2 |
| | | | | | | Change of directory should not be retried relative to the current directory when it has already failed along some path that does not refer to the current directory. | ||||
* | 31631: Use cygwin_conv_path if available. | Peter Stephenson | 2013-08-05 | 1 | -0/+5 |
| | | | | Prefer it to cygwin_conv_to_posix_path. | ||||
* | 17591: fix error message for invalid fd in print -u | Peter Stephenson | 2013-07-29 | 1 | -8/+8 |
| | |||||
* | 31444: Basic code for enable/disable -p | Peter Stephenson | 2013-06-13 | 1 | -4/+16 |
| | |||||
* | upon "read" of a short line, assign all variables passed as arguments. | Barton Schaefer | 2013-05-20 | 1 | -1/+1 |
| | | | | | It was noted that (print 1 2 | read one two three four) assigned values only to $one and $two except in the case where EOF was reached. | ||||
* | users/17754: failing to retie an array | Peter Stephenson | 2013-04-10 | 1 | -1/+1 |
| | | | | and colon-separated scalar shouldn't be a fatal error | ||||
* | 31060:"+" before a flag for "functions" or | Peter Stephenson | 2013-02-22 | 1 | -4/+9 |
| | | | | "autoload" should suppress display of function body. | ||||
* | unposted: tweak 30949 to fix buffer pointer | Bart Schaefer | 2013-01-08 | 1 | -2/+1 |
| | |||||
* | 30949: restore "read -q" behavior lost by 27188 | Bart Schaefer | 2013-01-06 | 1 | -0/+3 |
| | |||||
* | 30786: do not enter interactive history editing or command execution if | Bart Schaefer | 2012-11-08 | 1 | -0/+6 |
| | | | | "fc" is called from a ZLE widget. | ||||
* | 30726: make shell options passed to emulate stick along with the emulation | Peter Stephenson | 2012-10-11 | 1 | -10/+40 |
| | |||||
* | fix trivial typo with "functions +T" | Peter Stephenson | 2012-10-09 | 1 | -1/+1 |
| | |||||
* | 30722: fix some cases where emulations or options were not propagated properly | Peter Stephenson | 2012-10-07 | 1 | -11/+20 |
| | | | | from the emulate command | ||||
* | 30718: emulate command evaluations should apply sticky emulation | Peter Stephenson | 2012-10-07 | 1 | -2/+1 |
| | | | | to autoloads, too | ||||
* | 30692: allow autoload +X -m to work | Peter Stephenson | 2012-09-21 | 1 | -2/+2 |
| | | | | change to _path_files to make it load in that fashion | ||||
* | users/17236: r and other fc output didn't metafy when listing to a file | Peter Stephenson | 2012-09-08 | 1 | -2/+6 |
| | | | | other than stdout | ||||
* | 30633: "functions -T" only traces marked function, not called functions | Peter Stephenson | 2012-08-21 | 1 | -2/+6 |
| | |||||
* | 30169: repeat "typeset -T" with same two first arguments is not an error | Peter Stephenson | 2012-08-16 | 1 | -1/+14 |
| | |||||
* | Bart: 30560: unset ordinary array element by setting to null | Peter Stephenson | 2012-07-15 | 1 | -0/+28 |
| | |||||
* | 30540: typeset flag handling with SECONDS | Bart Schaefer | 2012-06-30 | 1 | -2/+3 |
| | |||||
* | 30469: Src/builtin.c: allow reverse listing of history using | Peter Stephenson | 2012-05-08 | 1 | -5/+5 |
| | | | | fc -r, but don't allow reverse execution of commands at all. | ||||
* | 30320: "emulate" accepts invocation-time flags; other small doc tweaks. | Bart Schaefer | 2012-03-07 | 1 | -25/+32 |
| | |||||
* | 30127: forbid fc from executing history lines in reverse | Peter Stephenson | 2012-02-05 | 1 | -0/+6 |
| | |||||
* | 29744: don't mess up non '-A' cases in read -E fix | Peter Stephenson | 2011-08-29 | 1 | -1/+8 |
| | |||||
* | 29731: fix read -AE, test that and read -Ae | Peter Stephenson | 2011-08-28 | 1 | -2/+2 |
| | |||||
* | 29413: "print -S" for saving to history with lexical word split | Peter Stephenson | 2011-06-03 | 1 | -12/+32 |
| | |||||
* | 29165: use term.h globally if needed at all. | Peter Stephenson | 2011-05-09 | 1 | -1/+1 |
| | |||||
* | users/15953: handle EINTR when using read -k or -q with -u or -p | Peter Stephenson | 2011-04-11 | 1 | -3/+10 |
| | |||||
* | 28853: Fix typo: preceed -> precede | Frank Terbeck | 2011-03-04 | 1 | -1/+1 |
| | |||||
* | 28823: make it an error to tie the same scalar to two different arrays | Bart Schaefer | 2011-03-01 | 1 | -2/+7 |
| | |||||
* | 28791: exit on errors with special builtins with POSIXBUILTINS | Peter Stephenson | 2011-02-22 | 1 | -2/+8 |
| | |||||
* | 28590: make read return status non-zero on error | Peter Stephenson | 2011-01-07 | 1 | -1/+6 |
| | |||||
* | 28345: make ${(D)...} return a fully usable command line argument | Peter Stephenson | 2010-10-15 | 1 | -0/+1 |
| | |||||
* | 28268: I/O to a terminated (or never created) coprocess emits a | Bart Schaefer | 2010-09-19 | 1 | -2/+18 |
| | | | | "no coprocess" diagnostic, instead of either nothing or "bad file number". | ||||
* | 28006: make zgetcwd() fall back to pwd, | Peter Stephenson | 2010-06-08 | 1 | -0/+2 |
| | | | | only use "." if setting pwd | ||||
* | 27965, 27966: Improve ${(q)...}: newline appears as $'\n;, | Peter Stephenson | 2010-05-27 | 1 | -1/+1 |
| |