1
0
Fork 0

Slight performance tweak to giddie theme

pull/32/head
Paul Gideon Dann 13 years ago
parent 9bcbe49bbc
commit 6812550da4

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

Loading…
Cancel
Save