From ed42aa21ee8265f2b0e5a3711b1c54154a784372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Mon, 25 Mar 2024 01:19:03 +0100 Subject: [PATCH] Mon Mar 25 01:18:47 AM CET 2024 --- zsh/.zshrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index eb412c8..d702444 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -91,22 +91,22 @@ function zvm_after_init() { function find_files() { zle -I PATHS="" - if [ -d ~/.dotfiles]; then - PATHS="$PATHS\n$(fd -H . ~/.dotfiles -t d -d 5)" + if [ -d ~/.dotfiles ]; then + PATHS="$PATHS\n$(fd . ~/.dotfiles -t d -d 1)" fi if [ -d ~/Workspace ]; then - PATHS="$PATHS\n$(fd -H . ~/Workspace -t d -d 5)" + PATHS="$PATHS\n$(fd . ~/Workspace -t d -d 5)" fi if [ -d ~/Containers ]; then - PATHS="$PATHS\n$(fd -H . ~/Containers -t d -d 2)" + PATHS="$PATHS\n$(fd . ~/Containers -t d -d 2)" fi if [ -d ~/Storage/Shared ]; then PATHS="$PATHS\n~/Storage/Shared" - PATHS="$PATHS\n$(fd -H . ~/Storage/Shared -t d -d 2)" + PATHS="$PATHS\n$(fd . ~/Storage/Shared -t d -d 2)" fi if [ -d ~/Storage/Thomas ]; then PATHS="$PATHS\n~/Storage/Thomas" - PATHS="$PATHS\n$(fd -H . ~/Storage/Thomas -t d -d 1)" + PATHS="$PATHS\n$(fd . ~/Storage/Thomas -t d -d 1)" fi BUFFER=cd "$(echo $PATHS | fzy -l 20)" zle accept-line