about summary refs log tree commit diff
path: root/Completion/X/Command/_nedit
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/Command/_nedit')
-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 f25ad503a..c915c25ec 100644
--- a/Completion/X/Command/_nedit
+++ b/Completion/X/Command/_nedit
@@ -1,4 +1,4 @@
-#compdef nedit nc
+#compdef nedit nedit-nc=nc ncl=nc
 
 local state line expl nedit_common curcontext="$curcontext" ret=1
 typeset -A opt_args
@@ -14,7 +14,7 @@ nedit_common=( \
   '*-xrm:resource:_x_resource' \
   '*: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]' \