|
|
|
|
|
by carpdiem
1189 days ago
|
|
Most useful script I've ever written, and legitimately how I keep track of everything important in my life: #! /bin/bash
function todo {
if [ $# -eq 0 ]
then
vim ~/Dropbox/todo/todo_list.txt
else
vim "$HOME/Dropbox/todo/todo_list_$1.txt"
fi
}
Sourcing this in my shell means I just have to type... todo
To automatically get into my default todo list which is synced to dropbox (and thus accessible everywhere on mobile as well).While, whenever I have a new project/etc come up, I can just todo new_project_name
And get a new, nice clean file, with the same backups and multi-device accessibility. |
|