53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
source ~/.env
|
|
|
|
# rbenv
|
|
eval "$(rbenv init -)"
|
|
|
|
# nodenv
|
|
eval "$(nodenv init -)"
|
|
|
|
# pyenv
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
|
eval "$(pyenv init -)"
|
|
|
|
eval "$(zoxide init --cmd cd zsh)"
|
|
|
|
if type brew &>/dev/null; then
|
|
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
fi
|
|
|
|
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
# heroku autocomplete setup
|
|
HEROKU_AC_ZSH_SETUP_PATH=/Users/myockey/Library/Caches/heroku/autocomplete/zsh_setup && test -f $HEROKU_AC_ZSH_SETUP_PATH && source $HEROKU_AC_ZSH_SETUP_PATH
|
|
|
|
typeset -U path cdpath fpath
|
|
setopt auto_cd
|
|
cdpath=($HOME/src)
|
|
|
|
zstyle ':completion:*' group-name ''
|
|
zstyle ':completion:*:descriptions' format %d
|
|
|
|
export COMPLETION_WAITING_DOTS="true"
|
|
export TERM="xterm-256color"
|
|
export GPG_TTY=$(tty)
|
|
export EDITOR="nvim"
|
|
export GREP_COLOR="1;36"
|
|
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
|
|
export PATH="$HOME/go/bin:$(npm -g bin):/usr/local/sbin:$PATH"
|
|
|
|
# Enable color support of ls
|
|
if ls --color=auto &>/dev/null; then
|
|
alias ls='ls -p --color=auto'
|
|
else
|
|
alias ls='ls -p -G'
|
|
fi
|
|
|
|
for file in $HOME/.functions/*.zsh; do
|
|
source $file
|
|
done
|
|
source $HOME/.scripts/geometry/geometry.zsh
|