Use new line character instead semicolon in the preexec hook
parent
b35d41464c
commit
1bf9bbde0d
|
|
@ -123,7 +123,7 @@ function preexec_install () {
|
|||
|
||||
# Finally, install the actual traps.
|
||||
if [[ ! -z "${PROMPT_COMMAND// }" ]]; then
|
||||
PROMPT_COMMAND="${PROMPT_COMMAND};preexec_invoke_cmd"
|
||||
PROMPT_COMMAND="${PROMPT_COMMAND}"$'\n'"preexec_invoke_cmd"
|
||||
else
|
||||
PROMPT_COMMAND="preexec_invoke_cmd"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue