Skip to content

Instantly share code, notes, and snippets.

View jessefarinacci's full-sized avatar

Jesse Farinacci jessefarinacci

View GitHub Profile
@jessefarinacci
jessefarinacci / .zlogin
Created July 25, 2025 15:17
retro-fortune
if (( $+commands[fortune] && $+commands[gum] && $+commands[pastel])) ; then
local c1=$(pastel random --number=1 | pastel format hex)
local t1=$(pastel textcolor "${c1}" | pastel format hex)
local c2=$(pastel lighten "0.2" "${c1}" | pastel format hex)
local t2=$(pastel textcolor "${c2}" | pastel format hex)
local c3=$(pastel darken "0.1" "${c2}" | pastel format hex)
fortune | \
gum style \
--background="${c1}" \
--border="rounded" \