summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:14:16 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:14:16 +0000
commitfff39584425adc7bd099a3407b4183f185d33b84 (patch)
tree48d67510ab1c6fa8936f23689ebbfde762710c88
parent041958250dd3a2205a4b0b3e7d8a18f9ffb4090c (diff)
downloadzsh-fff39584425adc7bd099a3407b4183f185d33b84.tar.gz
zsh-fff39584425adc7bd099a3407b4183f185d33b84.tar.xz
zsh-fff39584425adc7bd099a3407b4183f185d33b84.zip
moved to Completion/Base/Widget/_complete_debug
-rw-r--r--Completion/Commands/_complete_debug27
1 files changed, 0 insertions, 27 deletions
diff --git a/Completion/Commands/_complete_debug b/Completion/Commands/_complete_debug
deleted file mode 100644
index acdb48fd8..000000000
--- a/Completion/Commands/_complete_debug
+++ /dev/null
@@ -1,27 +0,0 @@
-#compdef -k complete-word \C-x?
-
-setopt localoptions ${_comp_options[@]}
-
-setopt localtraps noerrexit ; trap - ZERR
-
-(( $+_debug_count )) || integer -g _debug_count
-local tmp=${TMPPREFIX}${$}${words[1]:t}$[++_debug_count]
-local w="${(qq)words}"
-
-exec 3>&-	# Too bad if somebody else is using it ...
-[[ -t 2 ]] && exec 3>&2 2>| $tmp
-
-setopt xtrace
-_main_complete
-integer ret=$?
-unsetopt xtrace
-
-[[ -t 3 ]] && {
-    print -sR "${VISUAL:-${EDITOR:-${PAGER:-more}}} ${(q)tmp} ;: $w"
-    _message -r "Trace output left in $tmp (up-history to view)"
-    [[ $compstate[nmatches] -le 1 && $compstate[list] != *force* ]] &&
-        compstate[list]='list force messages'
-    exec 2>&3 3>&-
-}
-
-return ret