1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

22018: minor newuser tweaks

This commit is contained in:
Peter Stephenson 2005-11-24 11:46:46 +00:00
parent e66af50a98
commit 5dfd592bf2
3 changed files with 6 additions and 3 deletions

View file

@ -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