Skip to content

Instantly share code, notes, and snippets.

@planetguru
Created June 13, 2013 17:53
Show Gist options
  • Save planetguru/5775814 to your computer and use it in GitHub Desktop.
Save planetguru/5775814 to your computer and use it in GitHub Desktop.
Add this to your .profile,or .bashrc or whatever to create a note-taking utility for your shell. Notes are invoked by typing $> note observations.txt from any working directory. You will then find yourself editing a file called observations.txt in ~/Documents/notes/ Don't forget to change the username from 'christo' to something useful
note() { /usr/bin/vim /Users/christo/Documents/notes/"$@".txt ; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment