Skip to content

Commit

Permalink
fix: use existing variables
Browse files Browse the repository at this point in the history
  • Loading branch information
primeare committed May 29, 2023
1 parent af217b5 commit 7162271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/fish/functions/fish_greeting.fish
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function fish_greeting
echo Good morning, $USER!
else if test $current_hour -ge 12 -a $current_hour -lt 18
echo Good afternoon, $USER!
else if test $current_hour -ge 18 -a $hour -lt 22
else if test $current_hour -ge 18 -a $current_hour -lt 22
echo Good evening, $USER!
else
echo Good night, $USER!
Expand Down

0 comments on commit 7162271

Please sign in to comment.