1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-11 20:31:11 +01:00

11644: Use `print -s' in _complete_debug.

This commit is contained in:
Bart Schaefer 2000-05-30 03:57:39 +00:00
parent ab0ec79c6b
commit 61a2d24f54
2 changed files with 4 additions and 5 deletions

View file

@ -1,5 +1,7 @@
2000-05-29 Bart Schaefer <schaefer@zsh.org>
* 11644: Use `print -s' in _complete_debug, now that it works.
* 11643: Completion/Linux/_rpm: Factor out option sets that are
repeated in several states; add more options from RPM v3.

View file

@ -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>&-
}