Release new version 0.19.7
[grml-etc-core.git] / usr_share_grml / zsh / functions / readme
1 # View all README-like files in current directory in pager
2 emulate -L zsh
3
4 setopt extendedglob
5 local files
6 files=(./(#i)*(read*me|lue*m(in|)ut|lies*mich)*(NDr^/=p%))
7 if (($#files)) ; then
8     $PAGER $files
9 else
10     print 'No README files.'
11 fi