diff options
author | Karel Kočí <cynerd@email.cz> | 2017-09-12 08:42:20 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-09-12 08:42:20 +0200 |
commit | 3bf384e3ee04e3a82cfb65a73b11cce9f0320519 (patch) | |
tree | e08f83077503dd7db96e38d0620f04dfc6170a94 /zshrc | |
parent | 70b6d4eb31f2af2e404c2f8c1ab8062f530186f1 (diff) | |
download | myconfigs-3bf384e3ee04e3a82cfb65a73b11cce9f0320519.tar.gz myconfigs-3bf384e3ee04e3a82cfb65a73b11cce9f0320519.tar.bz2 myconfigs-3bf384e3ee04e3a82cfb65a73b11cce9f0320519.zip |
Drop annoyme on server
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -36,14 +36,9 @@ bindkey "^[[3~" delete-char bindkey "^[3;5~" delete-char # PROMPT ####################################################### -annoyme_check() { - which annoyme >/dev/null 2>&1 && ls ~/.annoyme/*.pid 2>/dev/null >&2 && \ - echo "%{$fg_bold[red]%}!" -} - [ $UID -eq 0 ] && NCOLOR="red" || NCOLOR="green" PROMPT="%(?..%{$fg_bold[yellow]%}EXIT: %? -)\$(annoyme_check)%{$fg_bold[$NCOLOR]%}%n@%m:%{$fg_bold[blue]%}%1~%{$fg_bold[$NCOLOR]%}%(!.#.$)%{$reset_color%} " +)%{$fg_bold[$NCOLOR]%}%n@%m:%{$fg_bold[blue]%}%1~%{$fg_bold[$NCOLOR]%}%(!.#.$)%{$reset_color%} " unset NCOLOR if [ -e ~/.local/git-prompt.sh ]; then |