projects
/
grml-etc-core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
grmlzshrc.t2t: Update with removals
[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