diff --git a/scripts/list-with-tag.sh b/scripts/list-with-tag.sh new file mode 100644 index 0000000..0a55df9 --- /dev/null +++ b/scripts/list-with-tag.sh @@ -0,0 +1,3 @@ +#! /bin/bash +tag=$1 +citrine list | grep -E "tags:.*$tag" \ No newline at end of file diff --git a/scripts/show-completed.sh b/scripts/show-completed.sh new file mode 100644 index 0000000..145c7ca --- /dev/null +++ b/scripts/show-completed.sh @@ -0,0 +1,2 @@ +#! bin/bash +citrine list | grep -E "[x]" \ No newline at end of file diff --git a/scripts/sort-by-priority.sh b/scripts/sort-by-priority.sh new file mode 100644 index 0000000..989db41 --- /dev/null +++ b/scripts/sort-by-priority.sh @@ -0,0 +1,2 @@ +#! bin/bash +citrine list | grep -E 'priority: [0-9]+' | grep -E '[0-9]+' | sort -nr