From 3c3ed20f8ddcc031540a072aecae0fcdf212b085 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Thu, 31 Oct 2024 00:22:08 +0800 Subject: [PATCH] Update ts functon to only search in Documents directory --- .config/scripts/functions/fzf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/scripts/functions/fzf b/.config/scripts/functions/fzf index b19ec9f..9653c42 100644 --- a/.config/scripts/functions/fzf +++ b/.config/scripts/functions/fzf @@ -32,7 +32,7 @@ cfg() # session there with the name of the directory. ts() { - dir=$(find -L $HOME/.config $HOME/Documents -type d 2> /dev/null | fzf) + dir=$(find -L $HOME/Documents -type d 2> /dev/null | fzf) [ -z "$dir" ] && return tmux new -s $(basename "$dir") -c "$dir" }