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

PATCH: Use new and improved print -s in _complete_debug



Ahhh.

Index: Completion/Commands/_complete_debug
===================================================================
@@ -18,12 +18,9 @@
 unsetopt xtrace
 
 [[ -t 3 ]] && {
-    ## Calling "print -s" during completion is presently broken.
-    # _message -r "Trace output left in $tmp (up-history to view)"
-    # print -sR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w"
-    _message -r "Trace output left in $tmp"
+    print -sR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w"
+    _message -r "Trace output left in $tmp (up-history to view)"
     compstate[list]='list force'
-    print -zR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w"
     exec 2>&3 3>&-
 }
 

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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