Skip to content

Instantly share code, notes, and snippets.

View rosousa's full-sized avatar

Rodolfo Sousa rosousa

  • Rio de Janeiro, Brazil
View GitHub Profile
@rosousa
rosousa / .zshrc
Created April 26, 2023 01:25 — forked from bashbunni/.zshrc
CLI Pomodoro for Linux
# study stream aliases
# Requires https://github.com/caarlos0/timer to be installed. spd-say should ship with your distro
declare -A pomo_options
pomo_options["work"]="45"
pomo_options["break"]="10"
pomodoro () {
if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then
val=$1