summaryrefslogtreecommitdiff
path: root/.config/shell/.zshrc
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2026-02-09 20:16:33 +0100
committerfilip <“filip.rabiega@gmail.com”>2026-02-09 20:16:33 +0100
commitf26c5bee89687609ccf7f83e06a9454610325c67 (patch)
tree30386e19acb01b4895dd5714e512b962396129ae /.config/shell/.zshrc
parent89df45698e9b6206315f7120dfd3dd67f761778e (diff)
downloaddotfiles-f26c5bee89687609ccf7f83e06a9454610325c67.tar.gz
dotfiles-f26c5bee89687609ccf7f83e06a9454610325c67.tar.bz2
dotfiles-f26c5bee89687609ccf7f83e06a9454610325c67.zip
add new env vars
Diffstat (limited to '.config/shell/.zshrc')
-rw-r--r--.config/shell/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/shell/.zshrc b/.config/shell/.zshrc
index de03f2b..1dc3dc6 100644
--- a/.config/shell/.zshrc
+++ b/.config/shell/.zshrc
@@ -153,8 +153,8 @@ bindkey -M viins '^t' htop_widget
bindkey -M vicmd '^t' htop_widget
# ─── 10) Tool initializations ─────────────────────────────────────────────────
-eval "$(zoxide init zsh)"
-eval "$(thefuck --alias)"
+command -v zoxide >/dev/null && eval "$(zoxide init zsh)"
+command -v thefuck >/dev/null && eval "$(thefuck --alias)"
# ─── 11) Local overrides (create this file if needed) ─────────────────────────
[ -f ~/.zshrc.local ] && source ~/.zshrc.local