diff options
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.config/zsh/.zshrc | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 198d4d91..5265d1fa 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -139,6 +139,7 @@ zplugin ice wait'1' lucid zplugin load "caarlos0/zsh-open-pr" zplugin ice blockf zplugin light "mollifier/anyframe" +zplugin light agkozak/agkozak-zsh-prompt zplugin snippet "OMZ::lib/functions.zsh" zplugin snippet "OMZ::lib/termsupport.zsh" @@ -204,20 +205,8 @@ then unsetopt zle PROMPT="> " else - unset RPROMPT - # show username@host if logged in through SSH - [[ "$SSH_CONNECTION" != '' ]] && prompt_pure_username=' %F{242}%n@%m%f' + AGKOZAK_PROMPT_DIRTRIM=0 - # show username@host if root, with username in white - [[ $UID -eq 0 ]] && prompt_pure_username=' %F{white}%n%f%F{242}@%m%f' - - ZSH_THEME_TERM_TAB_TITLE_IDLE="" - ZSH_THEME_TERM_TITLE_IDLE="" - - setopt prompt_subst - setopt prompt_cr - PROMPT='%F{blue}%~%f${prompt_pure_username} -%(?.%F{magenta}.%F{red})>%f ' fi if [[ -n $commands[fzf] ]] |