blob: 7518fbfc2ddd0681096630cb73e82f1ac68ae90b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
NOTES_DIR=$HOME/ghq/github.com/simenandre/notes/
function note() {
if [ $1 ]; then
echo $1 >> $NOTES_DIR/$(date +%Y-%m-%d).md
fi
}
function nt() {
if [ $1 ]; then
CONTENT="- [ ] $1"
note $CONTENT
fi
}
|