mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
31000: fix typo in example
This commit is contained in:
parent
6265394d6b
commit
2b75cf571e
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-01-26 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 31000: Doc/Zsh/contrib.yo: fix typo in example.
|
||||
|
||||
2013-01-24 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* users/17608: Doc/Zsh/contrib.yo,
|
||||
|
@ -467,5 +471,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5789 $
|
||||
* $Revision: 1.5790 $
|
||||
*****************************************************
|
||||
|
|
|
@ -2508,7 +2508,7 @@ example(modify-current-argument '${(qq)${(Q)ARG}}')
|
|||
The following performs directory expansion on the command line
|
||||
argument and replaces it by the absolute path:
|
||||
|
||||
example(expand-dir() {
|
||||
example(expand-dir+LPAR()RPAR() {
|
||||
REPLY=${~1}
|
||||
REPLY=${REPLY:a}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue