From 20578bdc173c0ba8c849921ae6e0ab7868d7e4c4 Mon Sep 17 00:00:00 2001 From: Abra Date: Thu, 28 Jun 2018 00:53:17 +0400 Subject: [PATCH] different path setting --- .zprezto/runcoms/zshrc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.zprezto/runcoms/zshrc b/.zprezto/runcoms/zshrc index a8f192f..bf768ca 100644 --- a/.zprezto/runcoms/zshrc +++ b/.zprezto/runcoms/zshrc @@ -53,15 +53,12 @@ bindkey "\eOF" end-of-line . ~/.zalias -# export R="$HOME/work/google3" - - - # ----------------------------------- END ALIASES -------------------------------------------------- # export EDITOR=/usr/bin/vim -export PATH=$HOME/brew/sbin:$HOME/brew/bin:$HOME/bin:$PATH -export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-8.0/lib:/usr/local/cuda/lib" -# added by travis gem -# [ -f /Users/abra/.travis/travis.sh ] && source /Users/abra/.travis/travis.sh +export PATH="$HOME/bin/":$PATH +if is_local; then + export PATH="$HOME/brew/sbin":"$HOME/brew/bin":$PATH + export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-8.0/lib:/usr/local/cuda/lib" +fi