summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc29
1 files changed, 9 insertions, 20 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index bf3f757..0298631 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -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'