1
0
Fork 0

Fixing prompt CWD when in home directory

pull/329/head
Paul Gideon Dann 13 years ago
parent f19a52415e
commit 7fba664f79

@ -20,7 +20,7 @@ function prompt_giddie_precmd {
vcs_info
# Replace "/home/<user>" with "~"
prompt_custom_wd=${PWD/$HOME\//\~/}
prompt_custom_wd=${PWD/$HOME/\~}
# Choose prompt symbol based on whether on not we're in a repository.
{ git branch 2>&1 } >/dev/null

Loading…
Cancel
Save