Slight performance tweak to giddie theme
This commit is contained in:
parent
727d6b6ac1
commit
6dbcdfc752
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue