From e42b7e95d64878432bf540780226d80db38cdd60 Mon Sep 17 00:00:00 2001 From: xesc Date: Fri, 26 Jul 2024 23:34:24 +0200 Subject: [PATCH] add missing path to fd --- tmux-sessionizer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux-sessionizer b/tmux-sessionizer index ed6e1e8..1fa9190 100755 --- a/tmux-sessionizer +++ b/tmux-sessionizer @@ -3,7 +3,7 @@ HOMEDIR=~ which fd > /dev/null if [ 0 = $? ]; then - SEL_DIR=$(fd --type directory | fzf) # if fd-find is installed + SEL_DIR=$(fd . ~ --type directory | fzf) # if fd-find is installed else SEL_DIR=$(find ~ -not -path "*/.*" -type d -print 2>/dev/null | fzf) fi