commit 4bc1d6e5e0b5368955d6c0940d80356b830a8386
parent b667a69538bc1f7bb9a4bb6a540bf6fe1decaf34
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Wed, 24 Mar 2021 01:09:19 -0700
Add mpc(1) clear shell function
Add the mc function to clear the mpd(1) queue, additionally update
the mca function to use mc. Unfortunately `mc' conflicts with mc(1)
from plan9port but since I don't use it often I think it's fine.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/local/shell/.config/shell/mpc b/local/shell/.config/shell/mpc
@@ -9,7 +9,8 @@ mp() m play "$@"
# queue
ma() m add "$@"
-mca() { m -q clear && ma "$@" ;}
+mc() m -q clear "$@"
+mca() { mc && ma "$@" ;}
# playlist
ml() m playlist "$@"