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(-) 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