We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a17fe6 + c14e77e commit b55db47Copy full SHA for b55db47
lib/command_duration.bash
@@ -26,7 +26,7 @@ function _dynamic_clock_icon {
26
local clock_hand
27
# clock hand value is between 90 and 9b in hexadecimal.
28
# so between 144 and 155 in base 10.
29
- printf -v clock_hand '%x' $(((${1:-${SECONDS}} % 12) + 144))
+ printf -v clock_hand '%x' $((((${1:-${SECONDS}} - 1) % 12) + 144))
30
printf -v 'COMMAND_DURATION_ICON' '%b' "\xf0\x9f\x95\x$clock_hand"
31
}
32
0 commit comments