From 68360cf4754c795988e7a6d0a4aea5988717b3e6 Mon Sep 17 00:00:00 2001 From: seajee Date: Tue, 2 Dec 2025 17:49:18 +0100 Subject: [PATCH] [bash] Revert PS1 --- bash/.bashrc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 71ff433..e600a89 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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)"