export EDITOR="nvim" export GPG_TTY=$(tty) export NVM_DIR="$HOME/.nvm" export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/docker.sock" fpath+=(~/.zsh/completions) # Setup cargo [[ -s ~/.cargo/env ]] && source ~/.cargo/env # 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 if (( $+commands[fd] )); then export FZF_DEFAULT_COMMAND="fd --type f" export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" fi # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. [[ -d "$HOME/.rvm/bin" ]] && path+=("$HOME/.rvm/bin")