mirror of https://github.com/dylanaraps/shfm.git
Show '*' and '.[!.]*' if such files exist
This commit is contained in:
parent
8ad3756a1c
commit
2a70030c02
2
shfm
2
shfm
|
@ -136,7 +136,7 @@ list_print() {
|
||||||
end=$((bottom + 1))
|
end=$((bottom + 1))
|
||||||
mid=$((bottom / 4 < 5 ? 1 : bottom / 4))
|
mid=$((bottom / 4 < 5 ? 1 : bottom / 4))
|
||||||
|
|
||||||
case $1$# in
|
[ -e "$1" ] || case $1$# in
|
||||||
'*1') set -- empty ;;
|
'*1') set -- empty ;;
|
||||||
'.[!.]*1') set -- 'no hidden files'
|
'.[!.]*1') set -- 'no hidden files'
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue