diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-24 15:48:36 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-24 15:48:36 +1200 |
commit | 297715ba27e54004c71b8d55b7e208d5043eee2a (patch) | |
tree | 09c5d475a96af1de8aec8d65bbaa5c1ed39e9fb4 /bash | |
parent | romainl reminds me I am a public person (diff) | |
download | dotfiles-297715ba27e54004c71b8d55b7e208d5043eee2a.tar.gz dotfiles-297715ba27e54004c71b8d55b7e208d5043eee2a.zip |
Remove unnecessary command substitution
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 779eeed3..9de8471a 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -74,7 +74,7 @@ prompt() { fi # If there are any stashed changes, add a circumflex to the state - if $(git rev-parse --verify refs/stash &>/dev/null); then + if git rev-parse --verify refs/stash &>/dev/null; then state=$state^ fi |