From 67d5524896f2686675f0c03b6f5d49290becfe75 Mon Sep 17 00:00:00 2001 From: Joe Bloggs Date: Tue, 25 Mar 2014 16:02:50 +0000 Subject: [PATCH] remove _comma_separated Just realised you can do the same thing with _values --- src/_comma_separated | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/_comma_separated diff --git a/src/_comma_separated b/src/_comma_separated deleted file mode 100644 index 2f59505..0000000 --- a/src/_comma_separated +++ /dev/null @@ -1,11 +0,0 @@ -#autoload - -# This function can be used to complete comma separated values. -# The first argument should be a description for the completion items, -# and any further args are the completion items themselves. - -compset -P '*,' -local -a used vals -used=(${(s:,:)IPREFIX}) -_wanted tty expl $1 compadd -S ',' -q -F used "$@[2,-1]" -