mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-06 00:30:42 +00:00
Change CTRL-T binding to include directories
This commit is contained in:
parent
089691faaf
commit
426284c87e
2
install
2
install
@ -102,6 +102,7 @@ bind '"\er": redraw-current-line'
|
||||
__fsel() {
|
||||
find * -path '*/\.*' -prune \
|
||||
-o -type f -print \
|
||||
-o -type d -print \
|
||||
-o -type l -print 2> /dev/null | fzf -m | while read item; do
|
||||
printf '%q ' "$item"
|
||||
done
|
||||
@ -125,6 +126,7 @@ fzf-file-widget() {
|
||||
FILES=($(
|
||||
find * -path '*/\.*' -prune \
|
||||
-o -type f -print \
|
||||
-o -type d -print \
|
||||
-o -type l -print 2> /dev/null | fzf -m))
|
||||
unset IFS
|
||||
FILES=$FILES:q
|
||||
|
Loading…
Reference in New Issue
Block a user