diff options
Diffstat (limited to 'bash/bashrc.d/prompt.bash')
-rw-r--r-- | bash/bashrc.d/prompt.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash index 75bb197c..b6847a92 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -214,7 +214,7 @@ prompt() { # name, removing leading slashes and the 'branches' prefix, and any # trailing content after a slash local branch - branch=${url/$root} + branch=${url/"$root"} branch=${branch#/} branch=${branch#branches/} branch=${branch%%/*} |