Skip to content

Instantly share code, notes, and snippets.

View sanchesrfl's full-sized avatar
👽

Rafael Sanches sanchesrfl

👽
View GitHub Profile
@sanchesrfl
sanchesrfl / .zshrc
Created January 19, 2024 19:26 — 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