add missing path to fd
This commit is contained in:
parent
e02e6c2620
commit
e42b7e95d6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue