diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-05-05 19:32:06 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-05-05 19:32:06 +0100 |
commit | 3c3c8d3d13fd4cf6c03f81ca8dc18a1efd561728 (patch) | |
tree | 98af1e20ef23594c2c4403e9e4ef3426d529df77 /Etc | |
parent | e6638bbd7008333ccda9402072a3d4c749eb306d (diff) | |
download | zsh-3c3c8d3d13fd4cf6c03f81ca8dc18a1efd561728.tar.gz zsh-3c3c8d3d13fd4cf6c03f81ca8dc18a1efd561728.tar.xz zsh-3c3c8d3d13fd4cf6c03f81ca8dc18a1efd561728.zip |
Update for 5.0.7-dev-2. zsh-5.0.7-dev-2
Includes updates to FAQ.yo for newer YODL.
Diffstat (limited to 'Etc')
-rw-r--r-- | Etc/FAQ.yo | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo index f9d052f7d..8702d2baa 100644 --- a/Etc/FAQ.yo +++ b/Etc/FAQ.yo @@ -47,7 +47,10 @@ def(startitem)(0)() \ def(enditem)(0)()\ def(item)(2)( ARG1: ARG2)\ -def(nofill)(1)(ARG1) +def(nofill)(1)(ARG1)\ +def(uref)(1)(ARG1)\ +def(LPAR)(0)(CHAR(40))\ +def(RPAR)(1)(CHAR(41)) myreport(Z-Shell Frequently-Asked Questions)(Peter Stephenson)(2010/02/15) COMMENT(-- the following are for Usenet and must appear first)\ description(\ @@ -696,9 +699,9 @@ label(23) cd() { builtin cd "$@"; print -D $PWD; } ) (which converts your home directory to a tt(~)). In fact, this problem is - better solved by defining the special function chpwd() (see the manual). - Note also that the mytt(;) at the end of the function is optional in zsh, - but not in ksh or sh (for sh's where it exists). + better solved by defining the special function chpwd+LPAR()RPAR() (see + the manual). Note also that the mytt(;) at the end of the function is + optional in zsh, but not in ksh or sh (for sh's where it exists). Here is Bart Schaefer's guide to converting csh aliases for zsh. @@ -1877,7 +1880,7 @@ label(327) mytt(something) mustn't contain tt(/) if the pattern is being used for globbing. - Likewise, mytt(abc(<->~<10-100>).txt) matches a file consisting of + Likewise, mytt(abc+LPAR()<->~<10-100>RPAR().txt) matches a file consisting of tt(abc), then some digits, then tt(.txt), unless the digits happen to match a number from 10 to 100 inclusive (remember the handy mytt(<->) pattern for matching integers with optional limits to the range). So |