Refactor zsh dotfiles; add GOPATH and DOCKER_HOST

This commit is contained in:
Henrik Lissner 2015-09-26 15:28:42 -04:00
parent f3035a6b03
commit 2f4861ee9e
2 changed files with 15 additions and 7 deletions

View file

@ -41,7 +41,6 @@ typeset -gU cdpath fpath mailpath path
# Set the list of directories that Zsh searches for programs.
path=(
$HOME/.dotfiles/bin
/usr/local/{bin,sbin}
/usr/{bin,sbin}
/{bin,sbin}

21
zshrc
View file

@ -2,8 +2,6 @@
# By Henrik Lissner <henrik@lissner.net>
# Uses zgen to manage plugins
export PATH="$HOME/.rbenv/bin:$HOME/.pyenv/bin:$PATH"
source ~/.zsh/functions.zsh
source ~/.zsh/aliases.zsh
@ -31,11 +29,22 @@ if [ -z "$EMACS" ]; then
cache fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install
fi
export DOCKER_HOST=tcp://server:4243
export GOPATH=$HOME/Dropbox/go
export ANDROID_HOME=/usr/local/opt/android-sdk
export ANDROID_SDK=/usr/local/Cellar/android-sdk/24.2
path=(
$HOME/.dotfiles/bin
$HOME/.{rb,py}env/bin
$GOPATH/bin
$ANDROID_HOME/platform-tools
$ANDROID_HOME/tools
$path
)
cache rbenv init - --no-rehash
cache pyenv init - --no-rehash
export ANDROID_HOME=/usr/local/opt/android-sdk
export ANDROID_SDK=/usr/local/Cellar/android-sdk/24.2
export PATH=$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$PATH
# Done!