From 5dfd592bf2ffe9336d4ba7e827f50e275c96ee37 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 24 Nov 2005 11:46:46 +0000 Subject: 22018: minor newuser tweaks --- Functions/Newuser/zsh-newuser-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/Newuser/zsh-newuser-install') 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 -- cgit 1.4.1