Hacker News new | ask | show | jobs
by jvanderbot 1097 days ago
Not a comma, but a close-paren. It turns out I had almost precisely that code in my bashrc (had below), so I updated the post to reflect this / your suggestion.

  function journal() {
    vim $logdir/$(date +%Y-%m-%d -d "$*").md
  }
Thanks!
1 comments

Oh right, why did I say comma.