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

PATCH:316dev17+9390:nslookup and new context names



The new nslookup shell function coming from zpty patches wasn't
completing since the change of context name format.

Index: Functions/Misc/nslookup
--- Functions/Misc/nslookup Thu, 03 Feb 2000 00:03:47 +0100 Alexandre
+++ Functions/Misc/nslookup Sun, 06 Feb 2000 00:15:16 +0100 Alexandre
@@ -3,7 +3,9 @@
 
 setopt localoptions localtraps completealiases
 
-local tmp line compcontext=nslookup curcontext=':nslookup' pmpt
+local tmp line compcontext=nslookup curcontext='nslookup:::' pmpt
+
+zmodload -e zsh/zpty || zmodload -i zsh/zpty
 
 trap 'return 130' INT
 trap 'zpty -d nslookup' EXIT

-- 
Alexandre Duret-Lutz



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