From f0342093853fc53a9bcfe6a2d22dff4823785b12 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Wed, 11 Sep 2024 00:13:32 -0700 Subject: [PATCH] zsh: prefer zoxide to zsh --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 346561c..d5ac516 100644 --- a/.zshrc +++ b/.zshrc @@ -66,7 +66,9 @@ ${SKIP_PLUGINS:-false} || { zinit load "jeffreytse/zsh-vi-mode" zinit load "zsh-users/zsh-history-substring-search" zinit load "zsh-users/zsh-completions" - zinit load "agkozak/zsh-z" + if ! command -v zoxide &> /dev/null || ${SKIP_ZOXIDE:-false}; then + zinit load "agkozak/zsh-z" + fi # Plugins for use with Nix zinit load "chisui/zsh-nix-shell"