aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-24 15:48:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-24 15:48:36 +1200
commit297715ba27e54004c71b8d55b7e208d5043eee2a (patch)
tree09c5d475a96af1de8aec8d65bbaa5c1ed39e9fb4 /bash
parentromainl reminds me I am a public person (diff)
downloaddotfiles-297715ba27e54004c71b8d55b7e208d5043eee2a.tar.gz
dotfiles-297715ba27e54004c71b8d55b7e208d5043eee2a.zip
Remove unnecessary command substitution
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/prompt.bash2
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