modules: precompile: fix die()

This commit is contained in:
tokiclover 2014-09-25 22:46:39 +02:00
parent f5adeadb45
commit 0998af9706
3 changed files with 8 additions and 2 deletions

View file

@ -10,7 +10,7 @@
function die {
local ret=$?
print -P " %F{red}*%f ${(%):-%1x}: $@" >&2
print -P " %F{red}%1x: %F{yellow}%U%I%u:%f $argv" >&2
return $ret
}

View file

@ -9,7 +9,7 @@
function die {
local ret=$?
print -P " %F{red}*%f ${(%):-%1x}: $@" >&2
print -P " %F{red}%1x: %F{yellow}%U%I%u:%f $argv" >&2
return $ret
}

View file

@ -8,6 +8,12 @@
# $Version: 2.0 2014/09/25 21:09:26 Exp $
#
function die {
local ret=$?
print -P " %F{red}%1x: %F{yellow}%U%I%u:%f $argv" >&2
return $ret
}
setopt EXTENDED_GLOB
setopt NULL_GLOB