5 ms·
What if your todolist is too large? Store it somewhere else (in you homedir, no need for a sudo) and add head -n 10 ~/todo.md to your .bashrc/.zshrc to show
by andreypopp 13y ago
What if your todolist is too large? Store it somewhere else (in you homedir, no need for a sudo) and add
head -n 10 ~/todo.md
to your .bashrc/.zshrc to show 10 most prioritised tasks on each session startup.
- Touche 13y agoNice, store todo.md in a cloud drive and you'll have it show up on all of your computers.
- jmnicolas 13y agoSo you're storing a file on a public server that is beyond your control and you make your shell read it every time you launch it ? What could possibly go wrong ?! ;-)
- simlay 13y agoThis may break scp when copying from a remote host which has this in the .bashrc.
- girvo 13y agoWow, that's a really neat idea. I'm definitely going to try this, cheers.
- mark_l_watson 13y ago+1 Thanks, good idea. I put my todo.txt in my Dropbox folder for manual access on my android phone and iPad, and for automatic viewing on opening a new shell tab.