From 3bf384e3ee04e3a82cfb65a73b11cce9f0320519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 12 Sep 2017 08:42:20 +0200 Subject: Drop annoyme on server --- zshrc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'zshrc') diff --git a/zshrc b/zshrc index 150d286..b3547e5 100644 --- a/zshrc +++ b/zshrc @@ -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 -- cgit v1.2.3