Skip to content

Instantly share code, notes, and snippets.

@yradunchev
Last active December 10, 2015 11:29
Show Gist options
  • Save yradunchev/4428138 to your computer and use it in GitHub Desktop.
Save yradunchev/4428138 to your computer and use it in GitHub Desktop.
I need a way to remember to take my vitamin D supplement every other day and my vitamin E supplement every day... so... :)
alias supplements='[ $[ $((10#`date +%j`)) % 2 ] -eq 0 ] && echo "Take E" || echo "Take E & D3"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment