2015-06-19 07:04:48 -07:00
|
|
|
### zshrc
|
|
|
|
# By Henrik Lissner <henrik@lissner.net>
|
|
|
|
# Uses zgen to manage plugins
|
2015-01-20 00:00:13 -08:00
|
|
|
|
2015-06-19 07:04:48 -07:00
|
|
|
source ~/.zsh/functions.zsh
|
|
|
|
source ~/.zsh/aliases.zsh
|
|
|
|
|
|
|
|
# if not running through emacs' shell-command
|
|
|
|
if [ -z "$EMACS" ]; then
|
2015-06-18 13:16:54 -07:00
|
|
|
source ~/.zsh/zgen/zgen.zsh
|
|
|
|
if ! zgen saved; then
|
|
|
|
echo "Creating zgen save"
|
2015-06-19 07:04:48 -07:00
|
|
|
|
2015-06-18 13:16:54 -07:00
|
|
|
zgen load zsh-users/zsh-syntax-highlighting
|
|
|
|
zgen load zsh-users/zsh-history-substring-search
|
|
|
|
zgen load zsh-users/zsh-completions src
|
|
|
|
zgen load hchbaw/opp.zsh
|
|
|
|
zgen load Tarrasch/zsh-bd
|
|
|
|
zgen load houjunchen/zsh-vim-mode
|
2015-06-19 07:04:48 -07:00
|
|
|
|
2015-06-18 13:16:54 -07:00
|
|
|
zgen save
|
|
|
|
fi
|
2015-06-19 07:04:48 -07:00
|
|
|
|
2015-06-18 13:16:54 -07:00
|
|
|
source ~/.zsh/config.zsh
|
2015-06-19 07:04:48 -07:00
|
|
|
source ~/.zsh/completion.zsh
|
2015-06-18 13:16:54 -07:00
|
|
|
source ~/.zsh/keybinds.zsh
|
|
|
|
source ~/.zsh/prompt.zsh
|
|
|
|
|
2015-06-19 07:04:48 -07:00
|
|
|
cache fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install
|
2014-12-13 16:33:21 -08:00
|
|
|
fi
|
2015-01-20 00:00:13 -08:00
|
|
|
|
2015-09-26 12:28:42 -07:00
|
|
|
export DOCKER_HOST=tcp://server:4243
|
2015-05-06 20:06:38 -07:00
|
|
|
|
2015-09-26 12:28:42 -07:00
|
|
|
export GOPATH=$HOME/Dropbox/go
|
2015-05-06 20:06:38 -07:00
|
|
|
export ANDROID_HOME=/usr/local/opt/android-sdk
|
2015-05-20 19:53:27 -07:00
|
|
|
export ANDROID_SDK=/usr/local/Cellar/android-sdk/24.2
|
2015-09-26 12:28:42 -07:00
|
|
|
|
|
|
|
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
|
2015-05-07 12:16:04 -07:00
|
|
|
|
2015-06-19 07:03:05 -07:00
|
|
|
# Done!
|