Skip to content

Commit d57c26b

Browse files
committed
feat(fstypes): scrape lsvfs output on generic (~non-Linux) case
1 parent ccf7bf6 commit d57c26b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bash_completion

+1
Original file line numberDiff line numberDiff line change
@@ -1502,6 +1502,7 @@ _fstypes()
15021502
$(awk '/^[ \t]*[^#]/ { print $3 }' /etc/mnttab 2>/dev/null)
15031503
$(awk '/^[ \t]*[^#]/ { print $4 }' /etc/vfstab 2>/dev/null)
15041504
$(awk '{ print $1 }' /etc/dfs/fstypes 2>/dev/null)
1505+
$(lsvfs 2>/dev/null | awk '$1 !~ /^(Filesystem|[^a-zA-Z])/ { print $1 }')
15051506
$([[ -d /etc/fs ]] && command ls /etc/fs)"
15061507
fi
15071508

0 commit comments

Comments
 (0)