diff --git a/themes/giddie/prompt_giddie_setup b/themes/giddie/prompt_giddie_setup index 74cce097..5c62166e 100644 --- a/themes/giddie/prompt_giddie_setup +++ b/themes/giddie/prompt_giddie_setup @@ -20,7 +20,7 @@ function prompt_giddie_precmd { vcs_info # Replace "/home/" 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