1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00
Commit graph

19 commits

Author SHA1 Message Date
Daniel Shahaf
a81f280bfa 40010: builtins: Say 'bad option: +x', not 'bad option: -x', when +x was passed. 2016-11-28 07:16:38 +00:00
Peter Stephenson
954cdd77d7 38746: Fix suffix alias expansion recursion.
This was problematic if the expansion landed you back in
command position.

Delay marking the alias as out of use until the text that
caused the expansion is finished.
2016-06-22 13:10:22 +01:00
Daniel Shahaf
a8a00be442 37591: 'alias -L': skip with a warning aliases with '=' in their LHS 2016-01-13 01:25:46 +00:00
Daniel Shahaf
1ba2fac03d 36403: type -w += suffix alias
This makes 'type -w' distinguish suffix aliases from regular aliases,
like bare 'type' already does.

Use-case: detecting programmatically whether the command word is indeed
a valid command word (see <https://github.com/zsh-users/zsh-syntax-highlighting/issues/126>)
2015-09-03 09:17:39 +00:00
Peter Stephenson
ff19094669 35193: Add "unalias -a". 2015-05-18 16:57:08 +01:00
Peter Stephenson
39aeeedb19 35056: turn off PROMPT_SP for interactive test 2015-05-08 09:36:01 +01:00
Barton E. Schaefer
81ba837972 34781: add implicit space after alias expansion of tokens that form words without spacing
fixes crash when using completion immediately following such an alias
2015-03-28 21:24:27 -07:00
Barton E. Schaefer
784a9f786d 34779: tests for 34776 2015-03-25 17:33:35 -07:00
Barton E. Schaefer
32b4cb0e73 34734: further aliasing adjustments and doc
restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior

2015-03-18  Peter Stephenson  <p.stephenson@samsung.com>

	* 34723: configure.ac: turn off fixed site function directory if
2015-03-18 18:01:54 -07:00
Peter Stephenson
732eeae1b5 Missing test for alias fix 2015-03-05 09:38:31 +00:00
Peter Stephenson
691be6d0fc unposted: change new test in A02alias.ztst to use cat 2010-03-25 15:13:35 +00:00
Peter Stephenson
e71df91bd2 27827: fix infinite loop in recursive alias at end of parsed string 2010-03-25 14:03:40 +00:00
Peter Stephenson
8e25f4449f 26675: add POSIX_ALIASES option 2009-03-03 17:26:03 +00:00
Peter Stephenson
ae832b901e unposted: fix alias test in 24736 properly 2008-03-27 09:41:08 +00:00
Peter Stephenson
a34d483b8d 24736: a couple more tests failing on Solaris 2008-03-26 15:26:20 +00:00
Peter Stephenson
7060b34457 15334: use string "(eval)" as script name in debugging messages in eval's 2001-07-09 18:31:24 +00:00
Peter Stephenson
cef000cc62 15329: test script changes to go with 15327 LINENO change 2001-07-09 16:41:19 +00:00
Bart Schaefer
50f88338e6 Assorted "make check" tweaks. 2001-06-25 03:06:33 +00:00
Sven Wischnowsky
f7da8d5efb moved from ./Test/02alias.ztst 2001-04-02 12:30:15 +00:00