aboutsummaryrefslogtreecommitdiff
path: root/ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-28 17:18:01 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-28 17:18:01 +1300
commit19fe50f521bae5d699604ec9d7f4ecdf17a41f4c (patch)
tree6d443300727ef627c7e0d1b6ea56b9c6e5cc1363 /ksh
parenta689fa37dd01d87a98e9c79f1581b27fd14d598e (diff)
downloaddotfiles-19fe50f521bae5d699604ec9d7f4ecdf17a41f4c.tar.gz
dotfiles-19fe50f521bae5d699604ec9d7f4ecdf17a41f4c.zip
Correct a typeset call
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 3f526526..1d4db926 100644
--- a/ksh/kshrc.d/prompt.ksh
+++ b/ksh/kshrc.d/prompt.ksh
@@ -80,7 +80,7 @@ function prompt {
} >/dev/null 2>&1
# Play ball with ksh's way of escaping non-printing characters
- typeset es nl
+ typeset es cr
es=$(printf '\01')
cr=$(printf '\r')