projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87a8f70
)
zsh: fix readme, add liesmich, improve globbing
author
Bernhard Tittelbach
<bernhard@tittelbach.org>
Tue, 16 Aug 2011 23:07:12 +0000
(
01:07
+0200)
committer
Michael Prokop
<mika@grml.org>
Tue, 8 Nov 2011 13:42:05 +0000
(14:42 +0100)
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
0e5d924
..
a520696
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-3269,8
+3269,10
@@
vman() {
#f5# View all README-like files in current directory in pager
readme() {
emulate -L zsh
+ setopt extendedglob
local files
files=(./(#i)*(read*me|lue*m(in|)ut)*(ND))
+ files=(./(#i)*(read*me|lue*m(in|)ut|lies*mich)*(NDr^/=p%))
if (($#files)) ; then
$PAGER $files
else