fix(profile_motd): remove padding from hour string
This commit is contained in:
1 parent
b6a2908b48
commit
98c687ea9e
1 file changed
+1
-1
Regular → Executable
+1
-1
@@ -31,7 +31,7 @@ tab() {
|
|||||||
#
|
#
|
||||||
# Header
|
# Header
|
||||||
#
|
#
|
||||||
hour=$(date +%H)
|
hour=$(date +%-H)
|
||||||
|
|
||||||
if (( hour < 12 )); then
|
if (( hour < 12 )); then
|
||||||
greeting="Good Morning"
|
greeting="Good Morning"
|
||||||
|
|||||||
Reference in new issue
Block a user