config

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

commit 996ae833900049158d3b5728072223b542b96260
parent eece46a652f929a924cf4ff28fb4bfd00aacfe0e
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Mon, 15 Feb 2021 12:51:19 -0800

Revise mpc(1) shell functions

They are now sorted by category (as defined by the manual). Multiple
were removed, renamed, or added.

Diffstat:
Mmodules/shell/.config/shell/mpc | 24++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/modules/shell/.config/shell/mpc b/modules/shell/.config/shell/mpc @@ -1,12 +1,24 @@ # mpc shell functions m() mpc "$@" -mP() m searchplay any "$@" + +# player +mm() m play "$@" +mn() m next "$@" +mp() m prev "$@" +mt() m toggle "$@" + +# queue ma() m add "$@" -mi() m play "$@" -mj() m next "$@" +mc() m clear "$@" +md() m del "${@:-0}" +mqa() m searchplay any "$@" +ms() m shuf "$@" + +# playlist ml() m playlist "$@" -mo() m prev "$@" -ms() m search any "$@" -mt() m toggle "$@" + +# database mf() { m listall | egrep "$@" ;} +mq() m search any "$@" +mu() m update --wait "$@"