aboutsummaryrefslogtreecommitdiff
path: root/ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-27 14:22:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-27 14:22:32 +1300
commitbb91f3ecae0c1df3d5d13a34447926d965df2e6a (patch)
tree73cfafd083a287bfb642ac76ab8807b7c4af7f1d /ksh
parent73d53cbe623f0883bd272c25a525fba61254281e (diff)
downloaddotfiles-bb91f3ecae0c1df3d5d13a34447926d965df2e6a.tar.gz
Change quoting mechanism
Diffstat (limited to 'ksh')
-rw-r--r--ksh/kshrc.d/prompt.ksh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksh/kshrc.d/prompt.ksh b/ksh/kshrc.d/prompt.ksh
index 904b64ef..add96b2a 100644
--- a/ksh/kshrc.d/prompt.ksh
+++ b/ksh/kshrc.d/prompt.ksh
@@ -20,7 +20,7 @@ function prompt {
# Add sub-commands; working directory with ~ abbreviation, VCS, job
# count, and previous command return value
- PS1=$PS1'$(ret=$?;jobc=$(jobs -p|sed -n \$=);prompt pwd;prompt vcs;prompt job;prompt ret;:)'
+ PS1=$PS1'$(ret=$?;jobc=$(jobs -p|sed -n '\''$='\'');prompt pwd;prompt vcs;prompt job;prompt ret;:)'
# Add prefix and suffix
PS1='${PROMPT_PREFIX}'$PS1'${PROMPT_SUFFIX}'