summaryrefslogtreecommitdiff
path: root/.config/shell/.zshrc
diff options
context:
space:
mode:
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