dotfiles/zshenv

22 lines
619 B
Plaintext
Raw Normal View History

2021-06-14 14:20:50 -05:00
export EDITOR="nvim"
2021-07-12 20:12:06 -05:00
export GPG_TTY=$(tty)
export NVM_DIR="$HOME/.nvm"
2021-07-22 17:36:26 -04:00
export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/docker.sock"
2021-06-14 14:20:50 -05:00
2021-06-16 16:30:20 -05:00
fpath+=(~/.zsh/completions)
2021-06-14 14:36:55 -05:00
2021-07-20 10:55:24 -05:00
# Setup cargo
[[ -s ~/.cargo/env ]] && source ~/.cargo/env
2021-07-20 10:55:24 -05:00
# Source machine-specific environment
[[ -s ~/.zshenv.local ]] && source ~/.zshenv.local
# Local gems
if (( $+commands[ruby] )); then
local gem_bin_path="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin"
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
fi
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
[[ -d "$HOME/.rvm/bin" ]] && path+=("$HOME/.rvm/bin")