Refactor zsh dotfiles; add GOPATH and DOCKER_HOST
This commit is contained in:
parent
f3035a6b03
commit
2f4861ee9e
1
zprofile
1
zprofile
|
@ -41,7 +41,6 @@ typeset -gU cdpath fpath mailpath path
|
||||||
|
|
||||||
# Set the list of directories that Zsh searches for programs.
|
# Set the list of directories that Zsh searches for programs.
|
||||||
path=(
|
path=(
|
||||||
$HOME/.dotfiles/bin
|
|
||||||
/usr/local/{bin,sbin}
|
/usr/local/{bin,sbin}
|
||||||
/usr/{bin,sbin}
|
/usr/{bin,sbin}
|
||||||
/{bin,sbin}
|
/{bin,sbin}
|
||||||
|
|
21
zshrc
21
zshrc
|
@ -2,8 +2,6 @@
|
||||||
# By Henrik Lissner <henrik@lissner.net>
|
# By Henrik Lissner <henrik@lissner.net>
|
||||||
# Uses zgen to manage plugins
|
# Uses zgen to manage plugins
|
||||||
|
|
||||||
export PATH="$HOME/.rbenv/bin:$HOME/.pyenv/bin:$PATH"
|
|
||||||
|
|
||||||
source ~/.zsh/functions.zsh
|
source ~/.zsh/functions.zsh
|
||||||
source ~/.zsh/aliases.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
|
cache fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install
|
||||||
fi
|
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 rbenv init - --no-rehash
|
||||||
cache pyenv 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!
|
# Done!
|
||||||
|
|
Loading…
Reference in a new issue