aboutsummaryrefslogtreecommitdiff
path: root/pdksh
diff options
context:
space:
mode:
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