void-packages/srcpkgs/fzf/patches/fsel.patch
2015-06-06 22:52:33 +02:00

18 lines
514 B
Diff

--- shell/key-bindings.bash.orig 2015-04-18 05:12:24.372078942 +0200
+++ shell/key-bindings.bash 2015-04-18 05:12:49.244078057 +0200
@@ -1,15 +1,5 @@
# Key bindings
# ------------
-__fzf_select__() {
- command find -L . \( -path '*/\.*' -o -fstype 'dev' -o -fstype 'proc' \) -prune \
- -o -type f -print \
- -o -type d -print \
- -o -type l -print 2> /dev/null | sed 1d | cut -b3- | fzf -m | while read item; do
- printf '%q ' "$item"
- done
- echo
-}
-
if [[ $- =~ i ]]; then
__fsel_tmux() {