Added root detection for prompt

This commit is contained in:
GRMrGecko 2022-07-31 22:59:10 -05:00
parent 9bf4e2b60f
commit d00bdb5421

3
.zshrc
View File

@ -19,6 +19,9 @@ source "$ZSH_CONFIG/functions"
zsh_add_config keybinds.zsh
PURE_PROMPT_SYMBOL="$"
if [ "$USER" = "root" ]; then
PURE_PROMPT_SYMBOL="#"
fi
PROMPT_PURE_SSH_CONNECTION=YES
zsh_add_plugin sindresorhus/pure
autoload -U promptinit; promptinit