diff options
author | snj <snj@pkgsrc.org> | 2015-07-26 22:04:13 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2015-07-26 22:04:13 +0000 |
commit | 6d02600cec5fee755bb72c3bf720d6408083ee58 (patch) | |
tree | 6772b2c1357a3bc5430d523547d1ae1c595730fd /shells/zsh/patches/patch-Completion_Unix_Command__du | |
parent | 8494cf42b41bdf416a2c0951143efb78dad3aefe (diff) | |
download | pkgsrc-6d02600cec5fee755bb72c3bf720d6408083ee58.tar.gz |
Fix a couple new-to-5.0.8 issues with command completion.
- non-GNU du wouldn't complete filenames (taken from upstream)
- sort completion threw a syntax error on NetBSD (reported upstream)
Bump PKGREVISION to 1.
Diffstat (limited to 'shells/zsh/patches/patch-Completion_Unix_Command__du')
-rw-r--r-- | shells/zsh/patches/patch-Completion_Unix_Command__du | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/shells/zsh/patches/patch-Completion_Unix_Command__du b/shells/zsh/patches/patch-Completion_Unix_Command__du new file mode 100644 index 00000000000..0b6134150a2 --- /dev/null +++ b/shells/zsh/patches/patch-Completion_Unix_Command__du @@ -0,0 +1,14 @@ +$NetBSD: patch-Completion_Unix_Command__du,v 1.1 2015/07/26 22:04:13 snj Exp $ + +Unbreak filename completion on non-GNU du binaries like NetBSD's. +Upstreadm commit 806f73a0b3d3959d5af12ce97e0258b4d4fe7d76 + +--- Completion/Unix/Command/_du.orig 2015-07-26 14:39:36.000000000 -0700 ++++ Completion/Unix/Command/_du 2015-07-26 14:39:17.000000000 -0700 +@@ -74,5 +74,5 @@ else + do + [[ $OSTYPE = $~pattern ]] && args+=( $arg ) + done +- _arguments -s -A "-*" $args ++ _arguments -s -A "-*" $args '*:file:_files' + fi |