diff options
Diffstat (limited to '.config/zsh/.zshenv')
| -rw-r--r-- | .config/zsh/.zshenv | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv new file mode 100644 index 0000000..ce840bc --- /dev/null +++ b/.config/zsh/.zshenv @@ -0,0 +1,22 @@ +# +# getchoo's zshenv +# + + +# add user's bin directory to path +typeset -U path PATH + +if [[ -d "$HOME/.local/bin" ]]; then + path=("$HOME/.local/bin" "$path[@]") + export PATH +fi + +# default programs +export EDITOR='nvim' +export VISUAL='nvim' +export GPG_TTY=$TTY + +# paths +export ZDOTDIR="$HOME/.config/zsh" +export CARGO_HOME="$HOME/.local/share/cargo" +export RUSTUP_HOME="$HOME/.local/share/rustup" |
