Skip to content

Commit 0ca9a9d

Browse files
committed
[bash-override] Unfilter hidden files/directories
1 parent 99954f1 commit 0ca9a9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/bash-override

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Override defaults for improved ctrl-t experience
22
__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 \
3+
command ls -1ta $1;
4+
command find -L $1 -mindepth 2 \( -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \) -prune \
55
-o -type f -printf '%P\n' \
66
-o -type d -printf '%P\n' \
77
-o -type l -printf '%P\n' 2> /dev/null

0 commit comments

Comments
 (0)