tweak previous

from Matthew Martin
ok pea@ (MAINTAINER)
This commit is contained in:
jasper 2015-12-06 14:18:04 +00:00
parent f494e0e490
commit d6c01f0aad
2 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.76 2015/12/02 14:27:59 jasper Exp $
# $OpenBSD: Makefile,v 1.77 2015/12/06 14:18:04 jasper Exp $
COMMENT= Z shell, Bourne shell-compatible
V= 5.1.1
DISTNAME= zsh-$V
CATEGORIES= shells
REVISION= 0
REVISION= 1
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>

View File

@ -1,15 +1,15 @@
$OpenBSD: patch-Completion_Unix_Command__nm,v 1.1 2015/12/02 14:27:59 jasper Exp $
$OpenBSD: patch-Completion_Unix_Command__nm,v 1.2 2015/12/06 14:18:04 jasper Exp $
Generate completions for OpenBSD's so versioned files (libfoo.so.0.0)
--- Completion/Unix/Command/_nm.orig Wed Dec 2 14:01:47 2015
+++ Completion/Unix/Command/_nm Wed Dec 2 14:01:55 2015
--- Completion/Unix/Command/_nm.orig Sun May 3 19:57:18 2015
+++ Completion/Unix/Command/_nm Sun Dec 6 12:58:30 2015
@@ -3,7 +3,7 @@
local args files variant
_nm_object_file() {
- [[ -x $REPLY || $REPLY = *.([ao]|so|elf) ]]
+ [[ -x $REPLY || $REPLY = *.([ao]|so|elf)(.([0-9]*.[0-9]*))? ]]
+ [[ -x $REPLY || $REPLY = *.([ao]|so|elf)((.<->.<->))# ]]
}
files="*:object file:_files -g '*(-.e:_nm_object_file:)'"