modules: precompile: fix die()
This commit is contained in:
parent
f5adeadb45
commit
0998af9706
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue