Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: PATCH: tag aliases



I forgot _nedit (I didn't have that in my version at home). Sorry. Again.


Bye
 Sven

P.S.: Maybe that should just be `languages'? Or `nedit-languages'?

diff -ru ../z.old/Completion/User/_nedit Completion/User/_nedit
--- ../z.old/Completion/User/_nedit	Thu Mar 23 13:52:42 2000
+++ Completion/User/_nedit	Thu Mar 23 13:53:14 2000
@@ -44,6 +44,7 @@
     "$nedit_common[@]"
 fi
 
-[[ $state = lang ]] && _wanted neditlanguages expl 'language mode' &&
-    compadd "$expl[@]" -  ${(f)"$(sed -n \
-      '/^nedit.languageMode/,/^nedit/ s/.*	\([^:]*\).*/\1/p' < ~/.nedit)"}
+[[ $state = lang ]] &&
+    _wanted neditlanguages expl 'language mode' \
+        compadd -  ${(f)"$(sed -n \
+            '/^nedit.languageMode/,/^nedit/ s/.*	\([^:]*\).*/\1/p' < ~/.nedit)"}

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author