Merge pull request #20 from chambln/master

Show '*' and '.[!.]*' if such files exist
This commit is contained in:
dylan
2020-09-24 13:54:22 +03:00
committed by GitHub
+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