diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2014-02-07 18:41:05 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2014-02-07 18:41:05 +0900 |
commit | 426284c87e0e9ff0cdcf2cb7a4fc5bd708331ace (patch) | |
tree | c923fa5985191764b02f4eae2809316468f275cf | |
parent | 089691faaf9a470847dc4c06824b8f7b219da195 (diff) |
Change CTRL-T binding to include directories
-rwxr-xr-x | install | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |