From 70cffc09a1ac7112face7f4600d802b512967a73 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 3 May 2018 21:02:21 +0200 Subject: zsh: hosts and fixes --- zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 0bd880e..c6de7a2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -102,7 +102,7 @@ in_google_cloud () { # possible colors: black, white, green, cyan, red, yellow, magenta case `hostname` in - bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) + bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*|bryant*|barkley*) HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; @@ -168,7 +168,7 @@ case `hostname` in umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; - bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) + bogues|curry|iverson|jordan|bryant|malone|nowitzki|oneal|rodman|ming|*.uberspace.de) PATH=/usr/lib/colorgcc/bin:$PATH ;; esac @@ -232,7 +232,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 16 -C icon; sleep 600; done' +alias t_timeline='while true; do clear; t timeline -n 18 -C icon; sleep 600; done' if [[ $_HOST_TYPE == "Linux" ]]; then alias cal='while true; do clear; echo; khal calendar; sleep 600; done' -- cgit v1.2.3 From 8b9f6147114e5fad71db55c978b377eab6f3648e Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 26 May 2018 12:43:26 +0200 Subject: new hosts --- zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index c6de7a2..0bd880e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -102,7 +102,7 @@ in_google_cloud () { # possible colors: black, white, green, cyan, red, yellow, magenta case `hostname` in - bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*|bryant*|barkley*) + bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; @@ -168,7 +168,7 @@ case `hostname` in umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; - bogues|curry|iverson|jordan|bryant|malone|nowitzki|oneal|rodman|ming|*.uberspace.de) + bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) PATH=/usr/lib/colorgcc/bin:$PATH ;; esac @@ -232,7 +232,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 18 -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' -- cgit v1.2.3 From 89c1979a1c2a6562a1a1fdda30fd0c4f7c811280 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 28 May 2018 18:08:55 +0200 Subject: hostname --- zsh/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 0bd880e..23d3ed5 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -102,7 +102,7 @@ in_google_cloud () { # possible colors: black, white, green, cyan, red, yellow, magenta case `hostname` in - bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) + bryant|barkley|bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; @@ -168,7 +168,7 @@ case `hostname` in umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; - bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) + bryant|barkley|bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) PATH=/usr/lib/colorgcc/bin:$PATH ;; esac -- cgit v1.2.3 From fdcd4d365b2376b2eeb974c2ffc3c2ac4d0259ef Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 19 Oct 2018 16:33:52 +0200 Subject: zsh: new hosts, R --- zsh/.zshrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 23d3ed5..9111d2b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -37,6 +37,11 @@ if [[ -d ~/nlp_scripts ]]; then export PATH=~/nlp_scripts:$PATH fi +which R &>/dev/null +if [[ $? == 0 ]]; then + export R_LIBS_USER=$HOME/.R +fi + export EDITOR='vim -p' export LC_ALL=en_US.UTF-8 @@ -102,7 +107,7 @@ in_google_cloud () { # possible colors: black, white, green, cyan, red, yellow, magenta case `hostname` in - bryant|barkley|bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) + bryant|barkley|bogues*|curry*|durant*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; @@ -168,7 +173,7 @@ case `hostname` in umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; - bryant|barkley|bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) + bryant|barkley|bogues|curry|durant|iverson|nowitzki|oneal|ming|*.uberspace.de) PATH=/usr/lib/colorgcc/bin:$PATH ;; esac -- cgit v1.2.3