diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-11 15:41:16 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-11 15:41:16 +0200 |
| commit | 857a454e06185adeb767ac656c88ec542ddb34ab (patch) | |
| tree | 5e2ee4c5c4bd50e7568004434157a2f75f58bfe3 /runcoms | |
| parent | 826510d7bb666c6cf02415525f7255d416c3189e (diff) | |
Add rust path and jj
Diffstat (limited to 'runcoms')
| -rw-r--r-- | runcoms/zshrc | 7 |
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 |