diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-17 12:28:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-17 12:28:25 +1200 |
commit | 0e95f8edee5b25df01356815640ab02c0aeb2260 (patch) | |
tree | 3532ff185ee965a7a9e9693cf4780938994156dc /bash | |
parent | Avoid calling svn info twice (diff) | |
download | dotfiles-0e95f8edee5b25df01356815640ab02c0aeb2260.tar.gz dotfiles-0e95f8edee5b25df01356815640ab02c0aeb2260.zip |
Remove unneeded single quotes
Diffstat (limited to '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 1f2e1b8f..675a5718 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -73,7 +73,7 @@ prompt() { local branch branch=$(git symbolic-ref --quiet HEAD 2>/dev/null) \ || branch=$(git rev-parse --short HEAD 2>/dev/null) \ - || branch='unknown' + || branch=unknown branch=${branch##*/} # Start collecting working copy state flags |