Show '*' and '.[!.]*' if such files exist

This commit is contained in:
Gregory Chamberlain
2020-09-24 01:21:44 +01:00
parent 8ad3756a1c
commit 2a70030c02
+1 -1
View File
@@ -136,7 +136,7 @@ list_print() {
end=$((bottom + 1))
mid=$((bottom / 4 < 5 ? 1 : bottom / 4))
case $1$# in
[ -e "$1" ] || case $1$# in
'*1') set -- empty ;;
'.[!.]*1') set -- 'no hidden files'
esac