diff options
author | Patrick Simianer <pks@pks.rocks> | 2018-10-19 16:33:52 +0200 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2018-10-19 16:33:52 +0200 |
commit | fdcd4d365b2376b2eeb974c2ffc3c2ac4d0259ef (patch) | |
tree | 339f40711bf11f575120b526500bbda90f7db6b9 /zsh | |
parent | a47ea0a2d8abb13c9c3ed31fbaabaabcaee77b35 (diff) |
zsh: new hosts, R
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |