config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit c48bf70cc5173aff73f6d6c83a413c7e30053982
parent 3fc64c1b0faf683a504b714423131cd273d584ea
Author: Jacob R. Edwards <n/a>
Date:   Thu,  8 Dec 2022 10:27:33 -0600

Add the queue command to ap tag

This tags the entire queue, instead of just the current item.
(Perhaps allowing arbitrary input would've been a better solution,
but for now this will be enough.)

Diffstat:
Mlocal/ap/config/ap/bin/tag | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/local/ap/config/ap/bin/tag b/local/ap/config/ap/bin/tag @@ -10,11 +10,13 @@ com="${1:?No command}" shift case "$com" in (cur|current) apc name | tag "$@" ;; +(queue) apc list | tag "$@" ;; (show) tag -p "$@" ;; (load) tag -p "$@" | revf | ap truncate ^ ;; (list) ls -1 "$tags" ;; (*) echo "usage: tag cur[rent] [tag ...] + tag queue [tag ...] tag show [tag ...] tag load [tag ...] tag list