diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-17 17:57:41 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-17 17:57:41 +1300 |
commit | 390188a950053239b9499d263399bfab30b84c1f (patch) | |
tree | 33bea2e71d3c819d52b1acdffef77a2e17b2197f /ksh/kshrc.d | |
parent | Rename all pdksh stuff to ksh (diff) | |
download | dotfiles-390188a950053239b9499d263399bfab30b84c1f.tar.gz dotfiles-390188a950053239b9499d263399bfab30b84c1f.zip |
Correct a "local" to "typeset"
Diffstat (limited to 'ksh/kshrc.d')
-rw-r--r-- | ksh/kshrc.d/prompt.ksh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ksh/kshrc.d/prompt.ksh b/ksh/kshrc.d/prompt.ksh index 90e813f0..a8835803 100644 --- a/ksh/kshrc.d/prompt.ksh +++ b/ksh/kshrc.d/prompt.ksh @@ -177,7 +177,7 @@ prompt() { # Show return status of previous command in angle brackets, if not zero ret) - local ret=$2 + typeset ret=$2 ((ret)) && printf '<%u>' "$ret" ;; |