diff --git a/.config/scripts/functions/fzf b/.config/scripts/functions/fzf index 9653c42..baf0084 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/Documents -type d 2> /dev/null | fzf) + dir=$(find --maxdepth 2 -L $HOME/Documents -type d 2> /dev/null | fzf) [ -z "$dir" ] && return tmux new -s $(basename "$dir") -c "$dir" }