diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-03-23 12:17:32 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-03-23 12:17:32 +0000 |
commit | 3e1e46e9d2aa8ce2889682894d3de8998f5bcee9 (patch) | |
tree | 1485aa93fe72ca2565cd1c2714525f70033799da /Doc/Zsh | |
parent | 4b2ad07d39a3def549a3382eeec36dc1b222ff03 (diff) | |
download | zsh-3e1e46e9d2aa8ce2889682894d3de8998f5bcee9.tar.gz zsh-3e1e46e9d2aa8ce2889682894d3de8998f5bcee9.tar.xz zsh-3e1e46e9d2aa8ce2889682894d3de8998f5bcee9.zip |
26748: c modifier to add command path
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/expn.yo | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 74dda0977..bab12cc3f 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -219,6 +219,8 @@ startitem() item(tt(a))( Turn a file name into an absolute path: prepends the current directory, if necessary, and resolves any use of `tt(..)' and `tt(.)' in the path. +Note that the transformation takes place even if the file or any +intervening directories do not exist. ) item(tt(A))( As `tt(a)', but also resolve use of symbolic links where possible. @@ -226,6 +228,13 @@ Note that resolution of `tt(..)' occurs em(before) resolution of symbolic links. This call is equivalent to tt(a) unless your system has the tt(realpath) system call (modern systems do). ) +item(tt(c))( +Resolve a command name into an absolute path by searching the command +path given by the tt(PATH) variable. This does not work for commands +containing directory parts. Note also that this does not usually work as +a glob qualifier unless a file of the same name is found in the +current directory. +) item(tt(e))( Remove all but the extension. ) |