summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshenv
diff options
context:
space:
mode:
authorseth <[email protected]>2022-01-21 16:47:39 -0500
committerseth <[email protected]>2022-08-04 04:40:49 -0400
commitac74db5a8fa69e5d3047b35f70c65b27dc07cfcb (patch)
tree5b6fcdb6cbf7c8c81a8b0a745e013094bdd82793 /.config/zsh/.zshenv
parente5605617b57264069374ea0753c19cd69714df6d (diff)
update shell dotfiles
Diffstat (limited to '.config/zsh/.zshenv')
-rw-r--r--.config/zsh/.zshenv22
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"