Added usage to todo()

This commit is contained in:
PowerUser64 2021-09-16 00:06:55 -07:00
parent 0d08c6b939
commit f26343fc7a

4
.zshrc
View file

@ -157,6 +157,10 @@
}
# an improved way to manage the todo list
# Usage:
# todo -- edit ~/todo
# todo [git command string] -- manage todo for easy syncing, assuming ~/todo is
# a symlink that points to a file in a git repo
todo() {
( # subshell to protect against directory changes
if [ -z "$@" ];then