Minor fixes

This commit is contained in:
ItsDrike 2021-12-15 22:08:59 +01:00
parent 39a66f0e30
commit fd57706a2f
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843

View file

@ -148,10 +148,10 @@ add-zsh-hook precmd exec_time_precmd_hook
# 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+="$(working_directory)" PS1+="\$(working_directory)"
PS1+="\$(git_prompt)" PS1+="\$(git_prompt)"
PS1+="\$(display_cmd_time)" PS1+="\$(display_cmd_time)"
PS1+=" $PURPLE%(!.#.$)$RESET " # Final symbol (# or $) PS1+=" $PURPLE%(!.#.$)$RESET " # Final symbol (# or $)
# Next line prompt # Next line prompt
PS2="$RED\ $RESET" PS2="$RED\ $RESET"