Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbUk committed Feb 8, 2024
1 parent 3bd701d commit c14e77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/command_duration.bash
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function _dynamic_clock_icon {
local clock_hand
# clock hand value is between 90 and 9b in hexadecimal.
# so between 144 and 155 in base 10.
printf -v clock_hand '%x' $((((${1:-${SECONDS}} -1 ) % 12) + 144))
printf -v clock_hand '%x' $((((${1:-${SECONDS}} - 1) % 12) + 144))
printf -v 'COMMAND_DURATION_ICON' '%b' "\xf0\x9f\x95\x$clock_hand"
}

Expand Down

0 comments on commit c14e77e

Please sign in to comment.