Update theme

This commit is contained in:
ItsDrike 2021-03-23 20:18:34 +00:00 committed by GitHub
parent 251b0e82d2
commit 51a193be98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,8 @@
#!/usr/bin/env zsh
# hide EOL sign ('%')
export PROMPT_EOL_MARK=""
# Color definition
GRAY="%F{237}"
RED="%F{196}"
@ -18,7 +21,8 @@ git_prompt() {
fi
}
setopt PROMPT_SUBST
setopt promptsubst # enable command substitution in prompt
# Primary Prompt
[ "$EUID" -eq 0 ] && PS1="$RED%n@%m$RESET" || PS1="$GRAY%n@%m$RESET" # user@machine