Added usage to todo()
This commit is contained in:
parent
0d08c6b939
commit
f26343fc7a
1 changed files with 4 additions and 0 deletions
4
.zshrc
4
.zshrc
|
@ -157,6 +157,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
# an improved way to manage the todo list
|
# 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() {
|
todo() {
|
||||||
( # subshell to protect against directory changes
|
( # subshell to protect against directory changes
|
||||||
if [ -z "$@" ];then
|
if [ -z "$@" ];then
|
||||||
|
|
Loading…
Add table
Reference in a new issue