Hacker News new | ask | show | jobs
by jlgaddis 4514 days ago
FTA:

  alias etodos="sudo vim /etc/motd"
Better:

  alias etodos="sudoedit /etc/motd"
1 comments

How about not using system administrator privilege to edit a TODO list? Good grief. If you want a simple text file, add "cat $HOME/TODO.txt" to your login profile script and then "etodos () { $EDITOR $HOME/TODO.txt; }"