From d4dbad983c2ff9ad281cedc6c036cc7d9539a895 Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Tue, 5 Mar 2024 14:31:08 -0500 Subject: [PATCH] remove branch from prompt (zshrc) --- zsh/.zshrc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index b7e7d19..b7f5205 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -147,11 +147,8 @@ git-prune() { autoload -U colors && colors # Set prompt -if [[ "$color_prompt" == "yes" ]]; then - PS1="%{$fg_bold[green]%}%n@%m%{$reset_color%}:%{$fg_bold[blue]%}%~%{$fg_bold[red]%}$(parse-git-branch)%{$reset_color%} $ " -else - PS1="%n@%m:%~$(parse-git-branch)$ " -fi +PS1="%n@%m:%~ $ " + unset color_prompt type -p curl >/dev/null || echo -e "$WARNING curl is not installed"