There was an error while loading. Please reload this page.
1 parent 55a6e5a commit ee5da07Copy full SHA for ee5da07
1 file changed
shell/bash-override
@@ -1,7 +1,7 @@
1
# Override defaults for improved ctrl-t experience
2
__fzf_find() {
3
- command ls -1t $1;
4
- command find -L $1 -mindepth 2 \( -path '*/\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \) -prune \
+ command ls -1ta $1 | grep -vE "^\.$|^\.\.$"
+ command find -L $1 -mindepth 2 \( -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \) -prune \
5
-o -type f -printf '%P\n' \
6
-o -type d -printf '%P\n' \
7
-o -type l -printf '%P\n' 2> /dev/null
0 commit comments