We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4535e14 commit 7c54451Copy full SHA for 7c54451
pomo/cofincup-pomo.sh
@@ -6,6 +6,7 @@ read -p "Enter countdown time in minutes: " countdown_minutes
6
# confirm countdown time with user
7
read -p "Start a countdown of $countdown_minutes minutes? [Y/n]" confirm
8
confirm=${confirm:-Y} # set default value to Y if user presses enter without entering a value
9
+echo "OK. Will notify you when time's up."
10
11
# exit script if user doesn't confirm countdown
12
if [[ ! "$confirm" =~ ^[Yy]$ ]]; then
0 commit comments