aboutsummaryrefslogtreecommitdiff
path: root/home/.bashrc.d/prompt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'home/.bashrc.d/prompt.sh')
-rw-r--r--home/.bashrc.d/prompt.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/.bashrc.d/prompt.sh b/home/.bashrc.d/prompt.sh
index 71f38c7..0875ef5 100644
--- a/home/.bashrc.d/prompt.sh
+++ b/home/.bashrc.d/prompt.sh
@@ -1,5 +1,3 @@
-export PROMPT_COMMAND=__prompt_command
-
function __prompt_command() {
local exit="$?"
PS1=""
@@ -50,3 +48,5 @@ function __prompt_command() {
PS1+="\\n╰\$ ${reset}"
}
+
+export PROMPT_COMMAND=__prompt_command