Permalink
Browse files

Slight performance tweak to giddie theme

  • Loading branch information...
1 parent 727d6b6 commit 6dbcdfc752ad336fe0cc69c676f218add7b0e367 @giddie committed Mar 14, 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 6dbcdfc

Please sign in to comment.