Skip to content

Commit c14e77e

Browse files
committed
Lint
1 parent 3bd701d commit c14e77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/command_duration.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function _dynamic_clock_icon {
2626
local clock_hand
2727
# clock hand value is between 90 and 9b in hexadecimal.
2828
# so between 144 and 155 in base 10.
29-
printf -v clock_hand '%x' $((((${1:-${SECONDS}} -1 ) % 12) + 144))
29+
printf -v clock_hand '%x' $((((${1:-${SECONDS}} - 1) % 12) + 144))
3030
printf -v 'COMMAND_DURATION_ICON' '%b' "\xf0\x9f\x95\x$clock_hand"
3131
}
3232

0 commit comments

Comments
 (0)