more flags
This commit is contained in:
16
fzf-vjour
16
fzf-vjour
@@ -486,6 +486,10 @@ if [ "${1:-}" = "--help" ]; then
|
|||||||
echo " --help Show this help and exit"
|
echo " --help Show this help and exit"
|
||||||
echo " --tasks Show tasks only"
|
echo " --tasks Show tasks only"
|
||||||
echo " --no-tasks Ignore tasks"
|
echo " --no-tasks Ignore tasks"
|
||||||
|
echo " --notes Show notes only"
|
||||||
|
echo " --no-notes Ignore notes"
|
||||||
|
echo " --journal Show journal only"
|
||||||
|
echo " --no-journal Ignore journal"
|
||||||
echo " --completed Show completed tasks only"
|
echo " --completed Show completed tasks only"
|
||||||
echo " --no-completed Ignore completed tasks"
|
echo " --no-completed Ignore completed tasks"
|
||||||
echo " --new Create new entry"
|
echo " --new Create new entry"
|
||||||
@@ -585,6 +589,18 @@ fi
|
|||||||
if [ "${1:-}" = "--no-tasks" ]; then
|
if [ "${1:-}" = "--no-tasks" ]; then
|
||||||
query="!✅ !🔲"
|
query="!✅ !🔲"
|
||||||
fi
|
fi
|
||||||
|
if [ "${1:-}" = "--notes" ]; then
|
||||||
|
query="🗒️"
|
||||||
|
fi
|
||||||
|
if [ "${1:-}" = "--no-notes" ]; then
|
||||||
|
query="!🗒️"
|
||||||
|
fi
|
||||||
|
if [ "${1:-}" = "--journal" ]; then
|
||||||
|
query="📘"
|
||||||
|
fi
|
||||||
|
if [ "${1:-}" = "--no-journal" ]; then
|
||||||
|
query="!📘"
|
||||||
|
fi
|
||||||
if [ -z "$query" ]; then
|
if [ -z "$query" ]; then
|
||||||
query="!✅"
|
query="!✅"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user