From 71324fd098baafbf3f9b12824e3e1528f306b661 Mon Sep 17 00:00:00 2001 From: jackwill Date: Fri, 1 Mar 2024 20:41:00 +0800 Subject: [PATCH] docx: add tips --- Cargo.toml | 2 +- README.md | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 638f231..0897c5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "todo-cli-app" -version = "0.5.0" +version = "0.5.1" edition = "2021" authors = ["Jack Will "] license = "MIT" diff --git a/README.md b/README.md index 6fd0613..013c21b 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,18 @@ Options: -h, --help Print help ``` +## Tips + +In order not to type the long command when using another todo.txt file,add the code below to your zshrc or bashrc + +``` +todo() { + todo-cli-app -f Path of todo.txt file "$@" + # like todo-cli-app -f /mnt/c/Users/jackwill/todo/todo.txt "$@" +} +``` + + ## Inspired by