diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-11-24 11:46:46 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-11-24 11:46:46 +0000 |
commit | 5dfd592bf2ffe9336d4ba7e827f50e275c96ee37 (patch) | |
tree | cf360c951a61f738aa61b56aa2b62281a825720b /Functions | |
parent | e66af50a984b9b693fd6bbbf5f806612cdd03b66 (diff) | |
download | zsh-5dfd592bf2ffe9336d4ba7e827f50e275c96ee37.tar.gz zsh-5dfd592bf2ffe9336d4ba7e827f50e275c96ee37.tar.xz zsh-5dfd592bf2ffe9336d4ba7e827f50e275c96ee37.zip |
22018: minor newuser tweaks
Diffstat (limited to 'Functions')
-rw-r--r-- | Functions/Newuser/zsh-newuser-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Newuser/zsh-newuser-install b/Functions/Newuser/zsh-newuser-install index e042af08a..d8fd437ed 100644 --- a/Functions/Newuser/zsh-newuser-install +++ b/Functions/Newuser/zsh-newuser-install @@ -61,8 +61,8 @@ install_state[completion]=Recommended trap 'save=0' HUP INT QUIT # Substitute an initial ~ for human consumption. -if [[ $zd = $HOME ]]; then - zdmsg="~" +if [[ $zd = $HOME(#b)(|/*) ]]; then + zdmsg="~$match[1]" else zdmsg=$zd fi |