Merge pull request #1519 from edubxb/new-line-as-separator
Use new line character instead semicolon in the preexec hookpull/1522/head
commit
733f047026
|
|
@ -123,7 +123,7 @@ function preexec_install () {
|
||||||
|
|
||||||
# Finally, install the actual traps.
|
# Finally, install the actual traps.
|
||||||
if [[ ! -z "${PROMPT_COMMAND// }" ]]; then
|
if [[ ! -z "${PROMPT_COMMAND// }" ]]; then
|
||||||
PROMPT_COMMAND="${PROMPT_COMMAND};preexec_invoke_cmd"
|
PROMPT_COMMAND="${PROMPT_COMMAND}"$'\n'"preexec_invoke_cmd"
|
||||||
else
|
else
|
||||||
PROMPT_COMMAND="preexec_invoke_cmd"
|
PROMPT_COMMAND="preexec_invoke_cmd"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue