Skip to content

Instantly share code, notes, and snippets.

@carlmartus
Created February 9, 2015 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlmartus/d754297cdcb177a5f788 to your computer and use it in GitHub Desktop.
Save carlmartus/d754297cdcb177a5f788 to your computer and use it in GitHub Desktop.
cdtoday
# /usr/bin/cdtoday.sh
DATE=$(date "+%F")
mkdir -p ~/journal/$DATE
cd ~/journal/$DATE
# .bashrc
alias cdtoday='source /usr/bin/cdtoday.sh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment