use fd instead of fdfind
This commit is contained in:
parent
02fc2ef1b6
commit
8183bcfa2b
|
@ -67,7 +67,7 @@ function find_global_directories() {
|
|||
for i in $search_dirs ; do
|
||||
if [ -d $i ]; then
|
||||
PATHS="$PATHS\n$i"
|
||||
PATHS="$PATHS\n$(fdfind . $i -t d -d 8)"
|
||||
PATHS="$PATHS\n$(fd . $i -t d -d 8)"
|
||||
fi
|
||||
done
|
||||
echo -e $PATHS > $FZY_CACHE
|
||||
|
@ -103,7 +103,7 @@ function edit_global_files() {
|
|||
search_dirs=(~/Workspace/ )
|
||||
for i in $search_dirs ; do
|
||||
if [ -d $i ]; then
|
||||
PATHS="$PATHS\n$(fdfind . $i -t f)"
|
||||
PATHS="$PATHS\n$(fd . $i -t f)"
|
||||
fi
|
||||
done
|
||||
echo -e $PATHS > $FZY_CACHE
|
||||
|
@ -290,6 +290,7 @@ fi
|
|||
if command -v fdfind &> /dev/null; then
|
||||
alias fd="fdfind"
|
||||
fi
|
||||
|
||||
function o () {
|
||||
xdg-open "$1" &!
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue