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
commit b8efa71b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
shfm
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