Skip to content

Commit 1094406

Browse files
author
jedahan
committed
nit: read from variable name for detailed time in geometry_git
1 parent 608a391 commit 1094406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geometry.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ geometry::time() {
5757
(( m > 0 )) && human+="${m}m"
5858
(( s > 0 )) && human+="${s}s" && : ${color:=${GEOMETRY_TIME_COLOR_SHORT:-green}}
5959

60-
${2:-false} && ansi $color ${(j: :)human} || ansi $color $human[1]
60+
${detailed:-false} && ansi $color ${(j: :)human} || ansi $color $human[1]
6161
}
6262

6363
# Generate a color based on hostname.

0 commit comments

Comments
 (0)