diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-05-30 03:57:39 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-05-30 03:57:39 +0000 |
commit | 61a2d24f54e177d952fb2a8f7a6e446f5cdd13cb (patch) | |
tree | 167aa9fd4433c3d018a7e4ac0fac6e20f5753df9 /Completion/Commands/_complete_debug | |
parent | ab0ec79c6bcc5eafb29958e316737795f41bcbd1 (diff) | |
download | zsh-61a2d24f54e177d952fb2a8f7a6e446f5cdd13cb.tar.gz zsh-61a2d24f54e177d952fb2a8f7a6e446f5cdd13cb.tar.xz zsh-61a2d24f54e177d952fb2a8f7a6e446f5cdd13cb.zip |
11644: Use `print -s' in _complete_debug.
Diffstat (limited to 'Completion/Commands/_complete_debug')
-rw-r--r-- | Completion/Commands/_complete_debug | 7 |
1 files changed, 2 insertions, 5 deletions
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>&- } |