config

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

commit c1d088ba92b6954064988c7320e9028ede27a936
parent 099e8ad38db354fe1f45f0dc260b725f683daaf1
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Mon, 27 Feb 2023 11:23:42 -0800

Add 'input' command to ap's tag command

This command allows arbitrary input, acting just like tag, but set
to work in the ap tag directory.

Diffstat:
Mlocal/ap/sys/config/ap/bin/tag | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/local/ap/sys/config/ap/bin/tag b/local/ap/sys/config/ap/bin/tag @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright 2022 Jacob R. Edwards +# Copyright 2022, 2023 Jacob R. Edwards # Music tagging interface tag() command tag -b "$base" -t "$tags" "$@" @@ -12,6 +12,7 @@ shift case "$com" in (cur|current) apc name | tag "$@" ;; (queue) apc list | tag "$@" ;; +(input) tag "$@" ;; (show) tag -l "$@" ;; (load) tag -l "$@" | revf | ap truncate ^ ;; (list) tags list "$tags" ;;