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=~
|
HOMEDIR=~
|
||||||
which fd > /dev/null
|
which fd > /dev/null
|
||||||
if [ 0 = $? ]; then
|
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
|
else
|
||||||
SEL_DIR=$(find ~ -not -path "*/.*" -type d -print 2>/dev/null | fzf)
|
SEL_DIR=$(find ~ -not -path "*/.*" -type d -print 2>/dev/null | fzf)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue