2022-04-11 17:11:10 -05:00
|
|
|
export FINDER="sk"
|
2022-10-07 00:04:32 -05:00
|
|
|
export EDITOR="helix"
|
|
|
|
export VISUAL="helix"
|
2021-07-12 20:12:06 -05:00
|
|
|
export GPG_TTY=$(tty)
|
2021-07-22 15:18:16 -04:00
|
|
|
export NVM_DIR="$HOME/.nvm"
|
2021-07-22 17:36:26 -04:00
|
|
|
export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/docker.sock"
|
2022-10-05 11:41:01 -05:00
|
|
|
export DOCKER_SOCKET="$XDG_RUNTIME_DIR/docker.sock"
|
2022-04-03 18:29:20 -05:00
|
|
|
export HELIX_RUNTIME="$HOME/src/helix/runtime"
|
2022-04-12 00:11:22 -05:00
|
|
|
export SKIM_DEFAULT_COMMAND="git ls-tree -r --name-only HEAD || rg --files"
|
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
|
2021-07-22 15:18:16 -04:00
|
|
|
[[ -s ~/.cargo/env ]] && source ~/.cargo/env
|
2021-07-20 10:55:24 -05:00
|
|
|
|
2021-07-22 15:18:16 -04: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 11:42:24 -05: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 11:58:16 -05:00
|
|
|
if (( $+commands[fd] )); then
|
|
|
|
export FZF_DEFAULT_COMMAND="fd --type f"
|
|
|
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
|
|
|
fi
|
|
|
|
|
2023-01-19 11:47:41 -06:00
|
|
|
# Local environment
|
|
|
|
if [[ -s ~/.zshenv.local ]]; then
|
|
|
|
source ~/.zshenv.local
|
|
|
|
fi
|