remove branch from prompt (zshrc)

This commit is contained in:
jc 2024-03-05 14:31:08 -05:00
commit d4dbad983c
No known key found for this signature in database

View file

@ -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"