diff --git a/dot_local/bin/executable_pj b/dot_local/bin/executable_pj index a563670..ddff877 100755 --- a/dot_local/bin/executable_pj +++ b/dot_local/bin/executable_pj @@ -14,8 +14,6 @@ # Usage: pj [extra args…] extra args are forwarded to the picked task # # Env: -# PJ_QUIET=1 suppress the "no task sources" error — the down-arrow -# bindings use this, where an empty tree is the normal case. # PJ_STATE=FILE key bindings pass a path; pj writes `open` to it when the # picker opens and `pj --run` writes `ran`, so the binding # can tell "no tasks" / "cancelled" / "task printed output" @@ -392,7 +390,7 @@ while :; do done if [ ${#recs[@]} -eq 0 ]; then - [ -n "${PJ_QUIET-}" ] || echo "pj: no task sources found in this tree" >&2 + echo "pj: no task sources found in this tree" >&2 exit 1 fi