Files
dotfiles/zsh/dot-zshrc
2024-04-28 15:04:03 -04:00

36 lines
987 B
Plaintext

source ~/.env
eval "$(rbenv init -)"
eval "$(nodenv 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="code -nw"
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
export PATH="$HOME/go/bin:$(npm -g bin):/usr/local/sbin:$PATH"
for file in $HOME/.functions/*.zsh; do
source $file
done
source $HOME/.scripts/geometry/geometry.zsh