aboutsummaryrefslogtreecommitdiff
path: root/pdksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-15 12:42:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-15 12:42:04 +1200
commit3ca55c7955a2dcfa915102ffe68e25405bcc9c90 (patch)
tree5fe7fa0ed00fdfd3e8f28cd95e642b69674307da /pdksh
parentIgnore a shellcheck message in dmp(1) (diff)
downloaddotfiles-3ca55c7955a2dcfa915102ffe68e25405bcc9c90.tar.gz
dotfiles-3ca55c7955a2dcfa915102ffe68e25405bcc9c90.zip
Correct wrapping for a comment
Diffstat (limited to 'pdksh')
-rw-r--r--pdksh/pdkshrc.d/prompt.pdksh3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdksh/pdkshrc.d/prompt.pdksh b/pdksh/pdkshrc.d/prompt.pdksh
index f97c9096..71e952a0 100644
--- a/pdksh/pdkshrc.d/prompt.pdksh
+++ b/pdksh/pdkshrc.d/prompt.pdksh
@@ -111,7 +111,8 @@ prompt() {
state=${state}^
fi
- # Print the status in brackets; add a git: prefix only if there might be another VCS prompt (because PROMPT_VCS is set)
+ # Print the status in brackets; add a git: prefix only if there
+ # might be another VCS prompt (because PROMPT_VCS is set)
printf '(%s%s%s)' "${PROMPT_VCS:+git:}" "${branch:-unknown}" "$state"
;;