diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-27 19:57:25 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-27 19:57:25 +0000 |
commit | 4a34c9628942a3631500e51b57ce4ccb4ac77fb4 (patch) | |
tree | b1c0d6eba97bf68f361093f91e27cb4eddade013 /Doc/Zsh | |
parent | 4ba03217caf578fab92202cd853d8de35aa047ed (diff) | |
download | zsh-4a34c9628942a3631500e51b57ce4ccb4ac77fb4.tar.gz zsh-4a34c9628942a3631500e51b57ce4ccb4ac77fb4.tar.xz zsh-4a34c9628942a3631500e51b57ce4ccb4ac77fb4.zip |
25755/25756: Jörg Sommer: improved handling of module arguments
25759: fix dynamic named directory crash, static named directory consistency
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/expn.yo | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index ec528313f..b16ec4b5b 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -1375,13 +1375,16 @@ subsect(Static named directories) cindex(directories, named, static) cindex(named directories, static) cindex(static named directories) -A `tt(~)' followed by anything not already covered is looked up as a +A `tt(~)' followed by anything not already covered consisting +of any number of alphanumeric characters or underscore (`tt(_)'), +hyphen (`tt(-)'), or dot (`tt(.)') is looked up as a named directory, and replaced by the value of that named directory if found. Named directories are typically home directories for users on the system. They may also be defined if the text after the `tt(~)' is the name of a string shell parameter whose value begins with a `tt(/)'. Note that trailing slashes will be removed from the path to the directory (though the original parameter is not modified). + It is also possible to define directory names using the tt(-d) option to the tt(hash) builtin. |