From 61a2d24f54e177d952fb2a8f7a6e446f5cdd13cb Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Tue, 30 May 2000 03:57:39 +0000 Subject: 11644: Use `print -s' in _complete_debug. --- Completion/Commands/_complete_debug | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Completion') diff --git a/Completion/Commands/_complete_debug b/Completion/Commands/_complete_debug index aeb2027a7..a876839c0 100644 --- a/Completion/Commands/_complete_debug +++ b/Completion/Commands/_complete_debug @@ -18,12 +18,9 @@ integer ret=$? 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>&- } -- cgit 1.4.1