diff options
author | Patrick Simianer <p@simianer.de> | 2017-12-06 22:22:38 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2017-12-06 22:22:38 +0100 |
commit | 764757b00a89c307a519495807c7204dfe709778 (patch) | |
tree | 486991ed66c70d37c2e581fd6162d94d0676d8fd | |
parent | 05ff5bc4f2c7176b4d795a2eca813295293c21a5 (diff) |
zsh: hosts
-rw-r--r-- | zsh/.zshrc | 29 |
1 files changed, 9 insertions, 20 deletions
@@ -88,33 +88,22 @@ stty -ixon # enable mapping of C-s in vim.. autoload -U colors && colors +# possible colors: black, white, green, cyan, red, yellow, magenta case `hostname` in - 2pac) - HOSTCOLOR_BG=green - HOSTCOLOR_FG=black - ;; - CLuster|node*|gpu*) - HOSTCOLOR_BG=cyan + bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) + HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; - coltrane) + *.uberspace.de) HOSTCOLOR_BG=blue HOSTCOLOR_FG=black ;; - donna) - HOSTCOLOR_BG=red - HOSTCOLOR_FG=black - ;; - vicious) - HOSTCOLOR_BG=yellow - HOSTCOLOR_FG=black - ;; - lemmy) - HOSTCOLOR_BG=white + ip-*) + HOSTCOLOR_BG=cyan HOSTCOLOR_FG=black ;; - bogues*|curry*|iverson*|nowitzki*|oneal*|ming*|jordan*|*.uberspace.de) - HOSTCOLOR_BG=magenta + 2pac|coltrane|donna|vicious|lemmy|CLuster|node*|gpu*) + HOSTCOLOR_BG=green HOSTCOLOR_FG=black ;; *) @@ -229,7 +218,7 @@ alias castnow_home='castnow --myip 192.168.0.100 --address 192.168.0.4' alias my_ip='echo "$(curl 'https://api.ipify.org' 2>/dev/null)"' -alias t_timeline='while true; do clear; t timeline -n 13 -C icon; sleep 600; done' +alias t_timeline='while true; do clear; t timeline -n 16 -C icon; sleep 600; done' if [[ $_HOST_TYPE == "Linux" ]]; then alias cal='while true; do clear; echo; khal calendar; sleep 600; done' |