diff --git a/modules/firefox-profile/functions/fhp b/modules/firefox-profile/functions/fhp index 50740d2b..894ffa83 100644 --- a/modules/firefox-profile/functions/fhp +++ b/modules/firefox-profile/functions/fhp @@ -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 } diff --git a/modules/firefox-profile/functions/mktmp b/modules/firefox-profile/functions/mktmp index ef7dc289..10f24272 100644 --- a/modules/firefox-profile/functions/mktmp +++ b/modules/firefox-profile/functions/mktmp @@ -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 } diff --git a/modules/firefox-profile/init.zsh b/modules/firefox-profile/init.zsh index 1be129e4..f760fb70 100644 --- a/modules/firefox-profile/init.zsh +++ b/modules/firefox-profile/init.zsh @@ -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