Hacker News new | past | comments | ask | show | jobs | submit login

Their function uses single quotes on format string, so I'll bet they tried it like this:

   alias lb="vim ~/logbook/$(date '+%Y-%m-%d').md"
..which would do what was described.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: