Added root detection for prompt
This commit is contained in:
parent
9bf4e2b60f
commit
d00bdb5421
1 changed files with 3 additions and 0 deletions
3
.zshrc
3
.zshrc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue