dotfiles/zshenv

34 lines
962 B
Plaintext
Raw Normal View History

2022-04-11 22:11:10 +00:00
export FINDER="sk"
2022-04-04 19:30:36 +00:00
export EDITOR="hx"
export VISUAL="hx"
2021-07-13 01:12:06 +00:00
export GPG_TTY=$(tty)
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"
2022-04-12 05:11:22 +00:00
export SKIM_DEFAULT_COMMAND="git ls-tree -r --name-only HEAD || rg --files"
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
[[ -s ~/.cargo/env ]] && source ~/.cargo/env
2021-07-20 15:55:24 +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
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
[[ -d "$HOME/.rvm/bin" ]] && path+=("$HOME/.rvm/bin")