From f3be526791ff209c9858883c2cf4e2ed71ed6e14 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 2 May 2000 11:56:27 +0000 Subject: Small fix to avoid using slashes in temporary file name (11065) --- Completion/Commands/_complete_debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Commands/_complete_debug b/Completion/Commands/_complete_debug index 5d3e8d9e3..be3f7672f 100644 --- a/Completion/Commands/_complete_debug +++ b/Completion/Commands/_complete_debug @@ -4,7 +4,7 @@ setopt localoptions nullglob rcexpandparam extendedglob unsetopt markdirs globsubst shwordsplit nounset ksharrays (( $+_debug_count )) || integer -g _debug_count -local tmp=${TMPPREFIX}${$}${words[1]}$[++_debug_count] +local tmp=${TMPPREFIX}${$}${words[1]:t}$[++_debug_count] local w="${(qqq)words}" [[ -t 2 ]] && exec 3>&2 2>| $tmp -- cgit 1.4.1