diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-09 10:14:20 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-09 10:14:20 +1200 |
commit | 7288dc51f3f1b23432b5a9f1b3fb692428b346a4 (patch) | |
tree | 0ff252acd77c699bcfb98803ce030d53b344e2ea /pdksh | |
parent | Remove bash-specific stuff from PS4 (diff) | |
download | dotfiles-7288dc51f3f1b23432b5a9f1b3fb692428b346a4.tar.gz dotfiles-7288dc51f3f1b23432b5a9f1b3fb692428b346a4.zip |
Remove Bash-specific PROMPT_COMMAND
Diffstat (limited to 'pdksh')
-rw-r--r-- | pdksh/kshrc.d/prompt.ksh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pdksh/kshrc.d/prompt.ksh b/pdksh/kshrc.d/prompt.ksh index e6182387..b5a54a0a 100644 --- a/pdksh/kshrc.d/prompt.ksh +++ b/pdksh/kshrc.d/prompt.ksh @@ -15,9 +15,6 @@ prompt() { # Declare the PROMPT_RETURN variable as an integer declare -i PROMPT_RETURN - # Set up pre-prompt command - PROMPT_COMMAND='PROMPT_RETURN=$? ; history -a' - # Set up prompt, including optional PROMPT_PREFIX and PROMPT_SUFFIX # variables PS1='[\u@\h:\w]' @@ -82,7 +79,7 @@ prompt() { # Revert to simple inexpensive prompts off) - unset -v PROMPT_COMMAND PROMPT_RETURN + unset -v PROMPT_RETURN PS1='\$ ' PS2='> ' PS3='? ' |