2022-04-04 19:30:36 +00:00
|
|
|
export EDITOR="hx"
|
2021-07-13 01:12:06 +00:00
|
|
|
export GPG_TTY=$(tty)
|
2021-07-22 19:18:16 +00:00
|
|
|
export NVM_DIR="$HOME/.nvm"
|
2021-07-22 21:36:26 +00:00
|
|
|
export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/docker.sock"
|
2022-04-03 23:29:20 +00:00
|
|
|
export HELIX_RUNTIME="$HOME/src/helix/runtime"
|
2021-06-14 19:20:50 +00:00
|
|
|
|
2021-06-16 21:30:20 +00:00
|
|
|
fpath+=(~/.zsh/completions)
|
2021-06-14 19:36:55 +00:00
|
|
|
|
2021-07-20 15:55:24 +00:00
|
|
|
# Setup cargo
|
2021-07-22 19:18:16 +00:00
|
|
|
[[ -s ~/.cargo/env ]] && source ~/.cargo/env
|
2021-07-20 15:55:24 +00:00
|
|
|
|
2021-07-22 19:18:16 +00:00
|
|
|
# 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
|
|
|
|
|
2021-10-13 16:42:24 +00:00
|
|
|
# Setup go paths
|
|
|
|
if (( $+commands[go] )); then
|
|
|
|
local go_bin_path="$(go env GOPATH)/bin"
|
|
|
|
[[ -d "$go_bin_path" ]] && path+=("$go_bin_path")
|
|
|
|
fi
|
|
|
|
|
2021-08-09 16:58:16 +00:00
|
|
|
if (( $+commands[fd] )); then
|
|
|
|
export FZF_DEFAULT_COMMAND="fd --type f"
|
|
|
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
|
|
|
fi
|
|
|
|
|
2021-07-22 19:18:16 +00:00
|
|
|
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
|
|
|
[[ -d "$HOME/.rvm/bin" ]] && path+=("$HOME/.rvm/bin")
|