From 85b63c0c0382310460bd616db583c16d1046eead Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 22 Feb 2005 18:23:16 +0000 Subject: 20844: prune trailing slashes from named directory --- Doc/Zsh/expn.yo | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Doc/Zsh') diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index eb9909cfc..3c3297562 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -1138,6 +1138,8 @@ 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. -- cgit 1.4.1