aboutsummaryrefslogtreecommitdiff
path: root/runcoms
diff options
context:
space:
mode:
Diffstat (limited to 'runcoms')
-rw-r--r--runcoms/zshrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/runcoms/zshrc b/runcoms/zshrc
index 1c4325e..6a02a57 100644
--- a/runcoms/zshrc
+++ b/runcoms/zshrc
@@ -47,6 +47,8 @@ export GPG_TTY=$(tty)
export FZF_DEFAULT_COMMAND='/usr/bin/env rg --color never --files --hidden -g \!.git'
export FZF_DEFAULT_OPTS='--preview ''bat --style=numbers --color=always {} | head -500'''
+[ -x "$(command -v jj)" ] && source <(COMPLETE=zsh jj)
+
################################################################################
# SECRET ENV VARS!!
################################################################################
@@ -82,6 +84,11 @@ fi
# ASDF
export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
+# Rust
+if [[ -s "$HOME/.cargo/env" ]]; then
+. "$HOME/.cargo/env"
+fi
+
if [[ -s "~/.asdf/plugins/java/set-java-home.zsh" ]]; then
. ~/.asdf/plugins/java/set-java-home.zsh
fi