From 6ee0f000d7b762967534a0dca46eb63f77953279 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Fri, 5 Sep 2025 14:27:12 +0200 Subject: [PATCH] Use zoxide as replacement for `cd` and integrate fzf into history etc. --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index 9910ff5..15eec86 100644 --- a/.bashrc +++ b/.bashrc @@ -76,6 +76,9 @@ alias g=goto alias ff="fd | fzf --preview 'my-cli-preview {}'" alias ffv="ff | xargs vim" +which fzf > /dev/null && fzf --bash > /dev/null && eval "$(fzf --bash)" +which zoxide > /dev/null && eval "$(zoxide init bash)" && alias cd=z + if [ -f .local/bin/lessfilter ] then export LESS='-R'