diff options
| author | Bart Schaefer <barts@users.sourceforge.net> | 2013-01-26 22:54:01 +0000 |
|---|---|---|
| committer | Bart Schaefer <barts@users.sourceforge.net> | 2013-01-26 22:54:01 +0000 |
| commit | 2b75cf571e45fae6344ee6681a2d4418ab5ea165 (patch) | |
| tree | 35aab47097d57adad814551ef9426146c1e031b9 /Doc | |
| parent | users/17608: use function to modify currrent command line argument (diff) | |
| download | zsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.tar zsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.tar.gz zsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.tar.bz2 zsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.tar.lz zsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.tar.xz zsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.tar.zst zsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.zip | |
31000: fix typo in example
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/Zsh/contrib.yo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index 00f70a2bf..41a9d8158 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -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} } |
