Skip to content

Commit b17fc5c

Browse files
committed
fix(themes/pzq): fix the display of failing exit statuses
1 parent 5581d9f commit b17fc5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

themes/pzq/pzq.theme.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function is_vim_shell {
4848
function mitsuhikos_lastcommandfailed {
4949
local status=$?
5050
if ((status != 0)); then
51-
_omb_util_print " ${D_DEFAULT_COLOR}C:${D_CMDFAIL_COLOR}$code ${D_DEFAULT_COLOR}"
51+
_omb_util_print " ${D_DEFAULT_COLOR}C:${D_CMDFAIL_COLOR}$status ${D_DEFAULT_COLOR}"
5252
fi
5353
}
5454

0 commit comments

Comments
 (0)