Update ts functon to only search in Documents directory

This commit is contained in:
Sheldon Lee 2024-10-31 00:22:08 +08:00
parent da2086f561
commit 3c3ed20f8d

View File

@ -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"
}