Simple Pomodoro in PowerShell
Simply use
Start-Pomodoro
to start a timer for 25 minutes, or
Start-Pomodoro -Minutes 5
to 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-Pomodoro
From now on, you can start your pomodoros with
pm