Merge pull request #1066 from kevinsjoberg/remove-fzf-options

Remove opinionated options
This commit is contained in:
Piña Colada 2021-06-11 19:34:32 +05:30 committed by GitHub
commit 8238410d4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ if type fzf >/dev/null 2>&1; then
else
[ -z "$cmd" ] && cmd="find . -type f 2>/dev/null"
fi
entry="$(eval "$cmd" | fzf -m --delimiter / --nth=-1 --tiebreak=begin --info=hidden)"
entry="$(eval "$cmd" | fzf -m)"
# To show only the file name
# entry=$(find . -type f 2>/dev/null | fzf --delimiter / --with-nth=-1 --tiebreak=begin --info=hidden)
elif type sk >/dev/null 2>&1; then