Home directory contraction in path

pull/2/head
Scott Perry 12 years ago
parent b089ef626d
commit f19a08341a

@ -37,7 +37,8 @@ function fish_prompt
end
# Unconditional stuff
set -l basic_prompt $yellow(whoami)$normal" at "$green(hostname -s)$normal" in "$blue(pwd)" "
set -l path $blue(pwd | sed "s:^$HOME:~:")
set -l basic_prompt $yellow(whoami)$normal" at "$green(hostname -s)$normal" in "$blue$path" "
# Prompt
set -l prompt

Loading…
Cancel
Save