helm/zshrc

63 lines
1.5 KiB
Bash
Raw Normal View History

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-11-20 02:08:05 -08:00
DOTFILES=$HOME/.dotfiles
source $DOTFILES/zsh/functions.zsh
source $DOTFILES/zsh/aliases.zsh
2015-06-19 07:04:48 -07:00
# if not running through emacs' shell-command
2015-11-20 02:08:05 -08:00
if [ ! $TERM = dumb ]; then
ZGEN_AUTOLOAD_COMPINIT=true
if [[ "${USER}" == "root" ]]; then
ZGEN_AUTOLOAD_COMPINIT=false
fi
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-11-20 02:08:05 -08:00
zgen load $DOTFILES/zsh/config.zsh
zgen load $DOTFILES/zsh/completion.zsh
zgen load $DOTFILES/zsh/keybinds.zsh
zgen load $DOTFILES/zsh/prompt.zsh
2015-06-18 13:16:54 -07:00
zgen save
fi
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
export DOCKER_HOST=tcp://server:4243
2015-05-06 20:06:38 -07:00
2015-09-29 13:34:56 -07:00
export RUST_SRC_PATH=$HOME/Dropbox/lib/rust/src
2015-10-06 17:46:14 -07:00
export GOPATH=$HOME/Dropbox/work/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-10-25 21:43:21 -07:00
# basictex
# export PATH=/usr/local/texlive/2015basic/bin/x86_64-darwin:$PATH
path=(
2015-11-20 01:54:30 -08:00
$HOME/.dotfiles/scripts
$HOME/.{rb,py}env/bin
$GOPATH/bin
$ANDROID_HOME/platform-tools
$ANDROID_HOME/tools
2015-10-25 21:43:21 -07:00
/usr/texbin
$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!