fix -maxdepth argument in fzf() function
This commit is contained in:
parent
0cde7b2f25
commit
bdbcade580
@ -32,7 +32,7 @@ cfg()
|
||||
# session there with the name of the directory.
|
||||
ts()
|
||||
{
|
||||
dir=$(find --maxdepth 2 -L $HOME/Documents -type d 2> /dev/null | fzf)
|
||||
dir=$(find -L $HOME/Documents -maxdepth 2 -type d 2> /dev/null | fzf)
|
||||
[ -z "$dir" ] && return
|
||||
tmux new -s $(basename "$dir") -c "$dir"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user