move zshrc

This commit is contained in:
Sami Samhuri 2015-06-17 17:36:22 -07:00
parent 7034ca0295
commit f3b10c1292
2 changed files with 1 additions and 5 deletions

View file

@ -4,8 +4,6 @@ BASENAME="${0##*/}"
if [ x"$1" != x ]; then if [ x"$1" != x ]; then
CONFIG_PATH="$1" CONFIG_PATH="$1"
elif [ -d "${HOME}/Dropbox/Personal/config" ]; then
CONFIG_PATH="${HOME}/Dropbox/Personal/config"
elif [ -d "${HOME}/config" ]; then elif [ -d "${HOME}/config" ]; then
CONFIG_PATH="${HOME}/config" CONFIG_PATH="${HOME}/config"
else else
@ -32,5 +30,3 @@ for FILE in *; do
link_config "${CONFIG_PATH}/$FILE" link_config "${CONFIG_PATH}/$FILE"
fi fi
done done
link_config "${CONFIG_PATH}/zsh/zshrc"

View file

@ -13,7 +13,7 @@ function is_interactive() { [ -t 1 ] }
# 1. Environment Vars # 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 for dir in $custom_paths; do
if [[ -d "$dir" ]]; then if [[ -d "$dir" ]]; then
path=($dir $path) path=($dir $path)