diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-09 10:16:38 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-09 10:16:38 +1200 |
commit | 610bcb471a883514211f882de47f3004b3859cc9 (patch) | |
tree | 2b7e6ca32cbf4fb02ec38a9ac31c1a78d08d8986 /pdksh | |
parent | Remove Bash-specific PROMPT_COMMAND (diff) | |
download | dotfiles-610bcb471a883514211f882de47f3004b3859cc9.tar.gz dotfiles-610bcb471a883514211f882de47f3004b3859cc9.zip |
Make declaration of PROMPT_RETURN pdksh-compatible
Diffstat (limited to 'pdksh')
-rw-r--r-- | pdksh/kshrc.d/prompt.ksh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdksh/kshrc.d/prompt.ksh b/pdksh/kshrc.d/prompt.ksh index b5a54a0a..5081ec0e 100644 --- a/pdksh/kshrc.d/prompt.ksh +++ b/pdksh/kshrc.d/prompt.ksh @@ -12,8 +12,8 @@ prompt() { # Turn complex, colored PS1 and debugging PS4 prompts on on) - # Declare the PROMPT_RETURN variable as an integer - declare -i PROMPT_RETURN + # Declare the PROMPT_RETURN variable + PROMPT_RETURN=0 # Set up prompt, including optional PROMPT_PREFIX and PROMPT_SUFFIX # variables |