about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-09-27 10:16:10 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-09-27 10:16:10 +0000
commit9d918dfbbabcaf7ae2531bf3c70f4cac9a6bcf0e (patch)
treeca930e9b42d6a47f5e73b65a78f2f020b85d7790
parentd3fdf5d8515c0e21d385581a6d063821a4a55e55 (diff)
downloadzsh-9d918dfbbabcaf7ae2531bf3c70f4cac9a6bcf0e.tar.gz
zsh-9d918dfbbabcaf7ae2531bf3c70f4cac9a6bcf0e.tar.xz
zsh-9d918dfbbabcaf7ae2531bf3c70f4cac9a6bcf0e.zip
commit the correct patch for 4.0
-rw-r--r--Completion/X/Command/_nedit4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/X/Command/_nedit b/Completion/X/Command/_nedit
index af4963b9c..584d7699a 100644
--- a/Completion/X/Command/_nedit
+++ b/Completion/X/Command/_nedit
@@ -1,4 +1,4 @@
-#compdef nedit nc ncl=nc
+#compdef nedit nc nedit-nc=nc ncl=nc
 
 local state line expl nedit_common curcontext="$curcontext" ret=1
 typeset -A opt_args
@@ -16,7 +16,7 @@ nedit_common=(
   '*:file:_files'
 )
 
-if [[ $service = *nc ]]; then
+if [[ $service = nc ]]; then
   _x_arguments -C \
     '(-noask)-ask[prompt if no server found]' \
     '(-ask)-noask[start a new server without asking if none found]' \