aboutsummaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-09-12 08:42:20 +0200
committerKarel Kočí <cynerd@email.cz>2017-09-12 08:42:20 +0200
commit3bf384e3ee04e3a82cfb65a73b11cce9f0320519 (patch)
treee08f83077503dd7db96e38d0620f04dfc6170a94 /zshrc
parent70b6d4eb31f2af2e404c2f8c1ab8062f530186f1 (diff)
downloadmyconfigs-3bf384e3ee04e3a82cfb65a73b11cce9f0320519.tar.gz
myconfigs-3bf384e3ee04e3a82cfb65a73b11cce9f0320519.tar.bz2
myconfigs-3bf384e3ee04e3a82cfb65a73b11cce9f0320519.zip
Drop annoyme on server
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc7
1 files changed, 1 insertions, 6 deletions
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