[bash] Revert PS1

This commit is contained in:
seajee
2025-12-02 17:49:18 +01:00
parent d96c108b28
commit 68360cf475

View File

@@ -29,14 +29,7 @@ RED="\[\e[0;91m\]"
YELLOW="\e[0;33m"
RESET="\[\e[0m\]"
__git_branch() {
local branch="$(git branch --show-current 2>/dev/null)"
if [[ -n "$branch" ]]; then
echo " $YELLOW$branch$RESET"
fi
}
PROMPT_COMMAND='PS1="[\u@$RED\h$RESET \w$(__git_branch)]\$$RESET "'
PS1="[\u@$RED\h$RESET \w]\$$RESET "
# Setup zoxide
eval "$(zoxide init --cmd cd bash)"