1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-11 13:01:28 +02:00
Commit graph

280 commits

Author SHA1 Message Date
Peter Stephenson
a06cd1766a 32479: POSIXTRAPS and implicit return values.
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.
2014-03-14 12:52:41 +00:00
Peter Stephenson
ed44ddad22 32246: option "shift -p" pops arguments from end of array 2014-01-11 19:31:29 +00:00
Peter Stephenson
c866657a3c 31706: standardize handling of "test ! <x> <y> <z>" 2013-09-06 20:37:40 +01:00
Barton E. Schaefer
935758ab7f 31637: be more selective about retry of lchdir() in cd_do_chdir()
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.
2013-08-18 20:24:45 -07:00
Peter Stephenson
9ebf22b34b 31631: Use cygwin_conv_path if available.
Prefer it to cygwin_conv_to_posix_path.
2013-08-05 19:55:15 +01:00
Peter Stephenson
9d32c82da3 17591: fix error message for invalid fd in print -u 2013-07-29 10:44:07 +01:00
Peter Stephenson
fdf2867e5f 31444: Basic code for enable/disable -p 2013-06-13 18:38:33 +01:00
Barton Schaefer
1182a75e1b upon "read" of a short line, assign all variables passed as arguments.
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.
2013-05-20 23:38:58 -07:00
Peter Stephenson
424ff5644b users/17754: failing to retie an array
and colon-separated scalar shouldn't be a fatal error
2013-04-10 18:14:41 +01:00
Peter Stephenson
555b95c5f3 31060:"+" before a flag for "functions" or
"autoload" should suppress display of function body.
2013-02-22 20:26:32 +00:00
Bart Schaefer
3ed9e4d1b9 unposted: tweak 30949 to fix buffer pointer 2013-01-08 07:18:50 +00:00
Bart Schaefer
dda51b9dbb 30949: restore "read -q" behavior lost by 27188 2013-01-06 18:55:00 +00:00
Bart Schaefer
cba5449c3d 30786: do not enter interactive history editing or command execution if
"fc" is called from a ZLE widget.
2012-11-08 16:50:38 +00:00
Peter Stephenson
4b86cc48f7 30726: make shell options passed to emulate stick along with the emulation 2012-10-11 20:14:01 +00:00
Peter Stephenson
8d9cb7f42e fix trivial typo with "functions +T" 2012-10-09 09:24:22 +00:00
Peter Stephenson
4e2cdd7956 30722: fix some cases where emulations or options were not propagated properly
from the emulate command
2012-10-07 19:46:46 +00:00
Peter Stephenson
321471891e 30718: emulate command evaluations should apply sticky emulation
to autoloads, too
2012-10-07 17:50:18 +00:00
Peter Stephenson
dbec4fa6cc 30692: allow autoload +X -m to work
change to _path_files to make it load in that fashion
2012-09-21 19:08:35 +00:00
Peter Stephenson
dd3a8ead16 users/17236: r and other fc output didn't metafy when listing to a file
other than stdout
2012-09-08 19:19:06 +00:00
Peter Stephenson
6f3ff6b653 30633: "functions -T" only traces marked function, not called functions 2012-08-21 18:03:01 +00:00
Peter Stephenson
268e56a144 30169: repeat "typeset -T" with same two first arguments is not an error 2012-08-16 14:00:11 +00:00
Peter Stephenson
129ebac4b0 Bart: 30560: unset ordinary array element by setting to null 2012-07-15 18:06:40 +00:00
Bart Schaefer
e1491b2542 30540: typeset flag handling with SECONDS 2012-06-30 17:40:18 +00:00
Peter Stephenson
d60de3001b 30469: Src/builtin.c: allow reverse listing of history using
fc -r, but don't allow reverse execution of commands at all.
2012-05-08 11:29:32 +00:00
Bart Schaefer
fa8a0e241c 30320: "emulate" accepts invocation-time flags; other small doc tweaks. 2012-03-07 06:10:42 +00:00
Peter Stephenson
4735ee67af 30127: forbid fc from executing history lines in reverse 2012-02-05 19:28:16 +00:00
Peter Stephenson
a6de37ec2b 29744: don't mess up non '-A' cases in read -E fix 2011-08-29 17:21:39 +00:00
Peter Stephenson
af071465b1 29731: fix read -AE, test that and read -Ae 2011-08-28 17:06:27 +00:00
Peter Stephenson
12e246495c 29413: "print -S" for saving to history with lexical word split 2011-06-03 19:54:43 +00:00
Peter Stephenson
d89361739a 29165: use term.h globally if needed at all. 2011-05-09 09:49:08 +00:00
Peter Stephenson
35ddd9c4ba users/15953: handle EINTR when using read -k or -q with -u or -p 2011-04-11 16:34:21 +00:00
Frank Terbeck
2eac105770 28853: Fix typo: preceed -> precede 2011-03-04 13:25:25 +00:00
Bart Schaefer
6e50d3d7db 28823: make it an error to tie the same scalar to two different arrays 2011-03-01 05:18:15 +00:00
Peter Stephenson
dbbcbf67cb 28791: exit on errors with special builtins with POSIXBUILTINS 2011-02-22 20:09:20 +00:00
Peter Stephenson
a89f0559c2 28590: make read return status non-zero on error 2011-01-07 10:05:35 +00:00
Peter Stephenson
bdb38058e4 28345: make ${(D)...} return a fully usable command line argument 2010-10-15 18:56:16 +00:00
Bart Schaefer
9530331b4f 28268: I/O to a terminated (or never created) coprocess emits a
"no coprocess" diagnostic, instead of either nothing or "bad file number".
2010-09-19 19:20:33 +00:00
Peter Stephenson
7850fc5a2c 28006: make zgetcwd() fall back to pwd,
only use "." if setting pwd
2010-06-08 08:51:03 +00:00
Peter Stephenson
147cedfb6f 27965, 27966: Improve ${(q)...}: newline appears as $'\n;, 2010-05-27 18:57:34 +00:00
Peter Stephenson
09960dc5b9 27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxt 2010-05-12 10:06:59 +00:00
Peter Stephenson
bbc88550db 27723: eval shouldn't modify non-zero return statuses 2010-02-19 12:26:08 +00:00
Peter Stephenson
7da34421c1 27675: Michael Hwang: fix crash in hash builtin 2010-02-07 18:49:28 +00:00
Peter Stephenson
8ac97f3308 27648, 267650/1, unposted README change:
Turn off repeat and turn on ulimit in emulation modes
2010-02-03 18:34:32 +00:00
Peter Stephenson
0d8a580951 users/14752: add #! line to zed
allow script run with -i to exit on return
2010-01-29 21:44:54 +00:00
Peter Stephenson
f30af94885 27357: fix compiler warnings in attr module
27358: fix error if $0 altered in sourced file
2009-11-06 22:38:47 +00:00
Peter Stephenson
6d4d1261a5 27240: fix fix for lexing in test builtin 2009-09-02 15:26:44 +00:00
Peter Stephenson
72f0b14a04 27188: improve read -q by using read -k code 2009-07-24 18:35:49 +00:00
Peter Stephenson
2c81423516 27181: extend POSIX_CD to handle target directory printing behaviour 2009-07-21 09:34:08 +00:00
Peter Stephenson
606cfb5a5e 27167: add POSIX_CD option to test "." after CDPATH 2009-07-19 19:07:14 +00:00
Peter Stephenson
351f6541e9 Eric Blake: 27151: cd handling with initial // for Cygwin 2009-07-15 08:43:25 +00:00