Permalink
Browse files

Fixing prompt CWD when in home directory

  • Loading branch information...
1 parent f19a524 commit 7fba664f79a4dad08d74f4ef2f6164d500af6b71 @giddie committed Mar 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 themes/giddie/prompt_giddie_setup
@@ -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

0 comments on commit 7fba664

Please sign in to comment.