diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-24 00:04:37 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-24 00:04:37 +1200 |
commit | 5d4004fa1cb639d2b42808cc187a4badf6673ae4 (patch) | |
tree | 854416ac7508a2286ff0004fafc588bf866d9533 /pdksh/pdkshrc.d | |
parent | Tidy check/lint targets, add pdksh (diff) | |
download | dotfiles-5d4004fa1cb639d2b42808cc187a4badf6673ae4.tar.gz dotfiles-5d4004fa1cb639d2b42808cc187a4badf6673ae4.zip |
Fix a pdksh warning
Diffstat (limited to 'pdksh/pdkshrc.d')
-rw-r--r-- | pdksh/pdkshrc.d/prompt.pdksh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdksh/pdkshrc.d/prompt.pdksh b/pdksh/pdkshrc.d/prompt.pdksh index 15db69cb..16f6b762 100644 --- a/pdksh/pdkshrc.d/prompt.pdksh +++ b/pdksh/pdkshrc.d/prompt.pdksh @@ -88,7 +88,7 @@ prompt() { git) # Bail if we're not in a work tree--or, implicitly, if we don't # have git(1). - [[ $(git rev-parse --is-inside-work-tree 2>/dev/null) = true ]] || + [[ $(git rev-parse --is-inside-work-tree 2>/dev/null) == true ]] || return # Attempt to determine git branch, bail if we can't |