The only cross-platform browser that fits in a Gist!
One line install. Works on Linux, MacOSX and Windows.
$> npm install http://gist.github.com/morganrallen/f07f59802884bcdcad4a/download
| n() { | |
| if [ $1="today" ]; | |
| then | |
| $EDITOR ~/notes/`date +%y%m%d` | |
| else | |
| $EDITOR ~/notes/"$*" | |
| fi | |
| } | |
| nls() { | |
| ls -c ~/notes/ | grep "$*" |