Skip to content

Instantly share code, notes, and snippets.

@roc roc/today.md
Last active May 2, 2016

Embed
What would you like to do?
Show a calendar with today's date highlighted
cal | GREP_COLOR='1;32' grep -w -A4 -B6 --color "$(date +%e)"

Alias with

alias today="cal | GREP_COLOR='1;32' grep -w -A4 -B6 --color "$(date +%e)"
# or add to .aliases file
(echo ""; echo alias cal | GREP_COLOR='1;32' grep -w -A4 -B6 --color "$(date +%e)"') >> ~/.aliases
@roc

This comment has been minimized.

Copy link
Owner Author

roc commented Dec 6, 2015

👀

screen shot 2015-12-06 at 13 58 59

@bwhitman

This comment has been minimized.

Copy link

bwhitman commented Dec 6, 2015

this just changed my life, 👍

@roc

This comment has been minimized.

Copy link
Owner Author

roc commented Dec 6, 2015

@bwhitman It's a pretty big deal I know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.