aboutsummaryrefslogtreecommitdiff
path: root/pdksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-24 00:04:37 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-24 00:04:37 +1200
commit5d4004fa1cb639d2b42808cc187a4badf6673ae4 (patch)
tree854416ac7508a2286ff0004fafc588bf866d9533 /pdksh
parentTidy check/lint targets, add pdksh (diff)
downloaddotfiles-5d4004fa1cb639d2b42808cc187a4badf6673ae4.tar.gz
dotfiles-5d4004fa1cb639d2b42808cc187a4badf6673ae4.zip
Fix a pdksh warning
Diffstat (limited to 'pdksh')
-rw-r--r--pdksh/pdkshrc.d/prompt.pdksh2
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