From 6c50581b2a01dc67a01630bfae182b5a7e98703a Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Wed, 3 Jul 2024 21:58:17 +0200 Subject: [PATCH] Add zoxide --- .aliases | 2 ++ .config/bootstrap/config_common | 1 + .zshrc | 3 +++ 3 files changed, 6 insertions(+) diff --git a/.aliases b/.aliases index 38f2246..2690e6c 100644 --- a/.aliases +++ b/.aliases @@ -9,3 +9,5 @@ alias cp='cpv' alias vim='nvim' alias ls='eza' alias cat='bat' +# zsh function, not binary, cf zoxide +alias cd='z' diff --git a/.config/bootstrap/config_common b/.config/bootstrap/config_common index c582ff4..52667d8 100644 --- a/.config/bootstrap/config_common +++ b/.config/bootstrap/config_common @@ -128,4 +128,5 @@ xsel yay-bin zenity zip +zoxide zsh diff --git a/.zshrc b/.zshrc index 8d36a38..aaedbb0 100644 --- a/.zshrc +++ b/.zshrc @@ -58,6 +58,9 @@ source $ZSH/oh-my-zsh.sh # Use Quick Term prompt theme made for Oh My Posh, in zsh eval "$(oh-my-posh init zsh --config ~/.config/theme/quick-term.omp.json)" +# Completions for zoxide +eval "$(zoxide init zsh)" + # And use Catppuccin Macchiato theme for ZSH fast hightlight plugin (LOCAL means searching in /usr/local/share/fsh) fast-theme LOCAL:catppuccin-macchiato >/dev/null