Simple Pomodoro in PowerShell
Simply use
Start-Pomodoroto start a timer for 25 minutes, or
Start-Pomodoro -Minutes 5to specify the time.
For convenience, add the pm.ps1 content to your $PROFILE and add an alias.
MyEditor $PROFILE# Microsoft.PowerShell_profile.ps1
Function Show-Notification
{
...
}
Function Start-Pomodoro
{
...
}
New-Alias -Name pm -Value Start-PomodoroFrom now on, you can start your pomodoros with
pm