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 | 22014: argument-base, insert-unicode-char (diff) | |
| download | zsh-5dfd592bf2ffe9336d4ba7e827f50e275c96ee37.tar zsh-5dfd592bf2ffe9336d4ba7e827f50e275c96ee37.tar.gz zsh-5dfd592bf2ffe9336d4ba7e827f50e275c96ee37.tar.bz2 zsh-5dfd592bf2ffe9336d4ba7e827f50e275c96ee37.tar.lz zsh-5dfd592bf2ffe9336d4ba7e827f50e275c96ee37.tar.xz zsh-5dfd592bf2ffe9336d4ba7e827f50e275c96ee37.tar.zst 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 |
