mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-27 05:34:35 +00:00
Move git prompt back after cwd
This commit is contained in:
parent
beb09a592d
commit
e6677f1e1b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue