From f3b10c1292511ea5115f032171cc8f767efd55f8 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Wed, 17 Jun 2015 17:36:22 -0700 Subject: [PATCH] move zshrc --- init.sh | 4 ---- zsh/zshrc => zshrc | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) rename zsh/zshrc => zshrc (99%) diff --git a/init.sh b/init.sh index 8be9f0b..3699730 100755 --- a/init.sh +++ b/init.sh @@ -4,8 +4,6 @@ BASENAME="${0##*/}" if [ x"$1" != x ]; then CONFIG_PATH="$1" -elif [ -d "${HOME}/Dropbox/Personal/config" ]; then - CONFIG_PATH="${HOME}/Dropbox/Personal/config" elif [ -d "${HOME}/config" ]; then CONFIG_PATH="${HOME}/config" else @@ -32,5 +30,3 @@ for FILE in *; do link_config "${CONFIG_PATH}/$FILE" fi done - -link_config "${CONFIG_PATH}/zsh/zshrc" diff --git a/zsh/zshrc b/zshrc similarity index 99% rename from zsh/zshrc rename to zshrc index b0436fe..394b26d 100755 --- a/zsh/zshrc +++ b/zshrc @@ -13,7 +13,7 @@ function is_interactive() { [ -t 1 ] } # 1. Environment Vars # =================== -custom_paths=(/sbin /usr/sbin /Applications/Xcode.app/Contents/Developer/usr/bin /usr/local/android/tools /usr/local/android/platform-tools /usr/local/bin $HOME/bin) +custom_paths=(/sbin /usr/sbin /Applications/Xcode.app/Contents/Developer/usr/bin /usr/local/android/tools /usr/local/android/platform-tools /usr/local/bin /usr/local/sbin $HOME/bin) for dir in $custom_paths; do if [[ -d "$dir" ]]; then path=($dir $path)