about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-07-12 02:40:54 +0000
committerClint Adams <clint@users.sourceforge.net>2006-07-12 02:40:54 +0000
commit91a241292bf88228336726938625bb381fd7f54b (patch)
tree19bfb77d8e7b519a0fb64b8c0b1e3f09a7fc0b0b /Completion/Unix/Command
parent0a22eb0e0c76892ff0397996f451e9bf78dd3d02 (diff)
downloadzsh-91a241292bf88228336726938625bb381fd7f54b.tar.gz
zsh-91a241292bf88228336726938625bb381fd7f54b.tar.xz
zsh-91a241292bf88228336726938625bb381fd7f54b.zip
22549: improve svn propset completion slightly.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_subversion7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 83590103b..7e30e6b6a 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -65,6 +65,13 @@ _svn () {
 	      '*:file:_files -g "*(e:_svn_controlled:)"'
             )
           ;;
+	  (propset)
+	    args=(
+	    ':propname:(svn:ignore svn:keywords svn:executable svn:eol-style svn:mime-type svn:externals svn:needs-lock)'
+	    ${args/(#b)(*--file*):arg:/$match[1]:file:_files}
+	    '*:path or url: _alternative "files:file:_files" "urls:URL:_svn_urls"'
+	    )
+	  ;;
           resolved)
             args+=(
               '*:file:_files -g "*(e:_svn_conflicts:)"'