dotfiles/zshenv

37 lines
964 B
Plaintext
Raw Normal View History

2022-04-11 22:11:10 +00:00
export FINDER="sk"
2022-10-07 05:04:32 +00:00
export EDITOR="helix"
export VISUAL="helix"
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-10-05 16:41:01 +00:00
export DOCKER_SOCKET="$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
# Local environment
if [[ -s ~/.zshenv.local ]]; then
source ~/.zshenv.local
fi