diff --git a/includes/bash_prompt.bash b/includes/bash_prompt.bash index f4a2e04..4746342 100644 --- a/includes/bash_prompt.bash +++ b/includes/bash_prompt.bash @@ -78,7 +78,7 @@ function prompt_command() { PS2="\[$CYAN\]$prompt_symbol\[$NOCOLOR\] " # Terminal title - local title="$(basename $PWD)" + local title=`basename "$PWD"` [ -n "$remote" ] && title="$title \xE2\x80\x94 $HOSTNAME" echo -ne "\033]0;$title"; echo -ne "\007" }