diff --git a/.functions/ps1.sh b/.functions/ps1.sh index 5e9467a..d5257bc 100644 --- a/.functions/ps1.sh +++ b/.functions/ps1.sh @@ -1,5 +1,5 @@ #!/bin/bash -function set_bash_prompt () { +function bash_ps1 () { local LAST_EXIT_STATUS=$? local EXIT_STATUS="" local GIT_BRANCH="" @@ -57,4 +57,4 @@ function set_bash_prompt () { } -export PROMPT_COMMAND=set_bash_prompt +export PROMPT_COMMAND=bash_ps1