Move git prompt back after cwd

This commit is contained in:
ItsDrike 2021-05-03 19:10:47 +02:00
parent beb09a592d
commit e6677f1e1b
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -69,8 +69,8 @@ setopt promptsubst # enable command substitution in prompt
# Primary Prompt # Primary Prompt
[ "$EUID" -eq 0 ] && PS1="$RED%n$RESET" || PS1="$GREEN%n$RESET" # user [ "$EUID" -eq 0 ] && PS1="$RED%n$RESET" || PS1="$GREEN%n$RESET" # user
PS1+="$(foreign_prompt)" PS1+="$(foreign_prompt)"
PS1+="\$(git_prompt)"
PS1+="$(working_directory)" PS1+="$(working_directory)"
PS1+="\$(git_prompt)"
PS1+=" $PURPLE%(!.#.»)$RESET " # Final symbol (# or ») PS1+=" $PURPLE%(!.#.»)$RESET " # Final symbol (# or »)
# Next line prompt # Next line prompt