summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc8
1 files changed, 2 insertions, 6 deletions
diff --git a/bashrc b/bashrc
index 719c467..74fb91e 100644
--- a/bashrc
+++ b/bashrc
@@ -193,6 +193,8 @@ if [ -n "$PS1" ]; then
bind -r ''
fi
+export PROMT_COMMAND=prompt_set_window_title
+
if command -v zoxide > /dev/null; then
eval "$(zoxide init bash)"
fi
@@ -205,9 +207,3 @@ if [ -e "$HOME/.cargo/env" ]
then
. "$HOME/.cargo/env"
fi
-
-if [ -n "$PROMPT_COMMNAD" ];then
- export PROMPT_COMMAND=prompt_set_window_title
-else
- export PROMPT_COMMAND="$PROMPT_COMMAND;prompt_set_window_title"
-fi