Add new
and n
aliases to create a zettel
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
23505f6c31
commit
db84f1114a
1 changed files with 9 additions and 9 deletions
18
zet
18
zet
|
@ -8,14 +8,14 @@ Zettel helper script.
|
|||
|
||||
Usage:
|
||||
|
||||
zet create|c TITLE... : Create a new zettel
|
||||
zet edit|e QUERY... : Search for a zettel and edit it
|
||||
zet help|h : Show this help screen
|
||||
zet id QUERY... : Search for a zettel and display its ID
|
||||
zet latest : Edit the latest zettel
|
||||
zet print|p QUERY... : Search for a zettel and print it
|
||||
zet view|v QUERY... : Search for a zettel and view it
|
||||
zet QUERY... : Print IDs and titles of zettels matching QUERY
|
||||
zet create|new|c|n TITLE... : Create a new zettel
|
||||
zet edit|e QUERY... : Search for a zettel and edit it
|
||||
zet help|h : Show this help screen
|
||||
zet id QUERY... : Search for a zettel and display its ID
|
||||
zet latest : Edit the latest zettel
|
||||
zet print|p QUERY... : Search for a zettel and print it
|
||||
zet view|v QUERY... : Search for a zettel and view it
|
||||
zet QUERY... : Print IDs and titles of zettels matching QUERY
|
||||
|
||||
EOF
|
||||
|
||||
|
@ -127,7 +127,7 @@ get_title_from_file() {
|
|||
|
||||
main() {
|
||||
case "$1" in
|
||||
create | c)
|
||||
create | new | c | n)
|
||||
shift 1
|
||||
cmd_create "$@"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue