aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcollector6
-rwxr-xr-xstatus3
2 files changed, 8 insertions, 1 deletions
diff --git a/collector b/collector
index 0e5b50c..fcbb3b7 100755
--- a/collector
+++ b/collector
@@ -26,7 +26,11 @@ elif [ "$ACTION" == "add" ]; then
shift
echo "* [ ] $*" >> "$COLLECTOR_FILE"
elif [ "$ACTION" == "list" ]; then
- grep -e "^\* \[ \]" "$COLLECTOR_FILE"
+ if grep -q -e "^\* \[ \]" "$COLLECTOR_FILE"; then
+ echo "Collected items at $COLLECTOR_FILE:"
+ echo ""
+ grep -e "^\* \[ \]" "$COLLECTOR_FILE"
+ fi
elif [ "$ACTION" == "edit" ]; then
if [ ! -z "$EDITOR" ]; then
$EDITOR "$COLLECTOR_FILE"
diff --git a/status b/status
index 88df77a..c26bc6c 100755
--- a/status
+++ b/status
@@ -93,6 +93,9 @@ function status_run {
# Check your TODO lists, filtering only important tasks
todo list important
+ # Collected items that need to be moved somewhere else
+ collector list
+
# Check if you have mails to send
postponed