1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

Adding SIG to signal name, removing - sign.

This commit is contained in:
Ben Hilburn 2017-10-06 22:34:44 -04:00
parent 2a7f3966c2
commit ad74199822

View file

@ -1146,7 +1146,7 @@ exit_code_or_status() {
else else
local sig=$(( ec - 128 )) local sig=$(( ec - 128 ))
local idx=$(( sig + 1 )) local idx=$(( sig + 1 ))
echo "${signals[$idx]}(-${sig})" echo "SIG${signals[$idx]}(${sig})"
fi fi
} }