commit bf24ae2e775f5974f834d2b839b501ea1c043d40 parent cd8eb58723571d0bab8dbfc151961dd106bb299a Author: jacob@thinkpad <jacobouno@protonmail.com> Date: Mon, 8 Jun 2020 20:38:00 -0700 Add many mpc aliases and modify daily function add an extra newline back to the daily alias to seperate notes with more clarity Diffstat:
| M | aliases/.aliases | | | 25 | ++++++++++++++++++++++++- |
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/aliases/.aliases b/aliases/.aliases @@ -54,6 +54,29 @@ alias gp="git pull" alias gl="git log" alias gdc="gd --cached" +# mpc (most subject to be removed, I'm still figuring out what I use with mpc) +# basic +alias m="mpc" +alias mm="m toggle" +alias ma="m a" +alias mc="m clear" +alias md="m del" + +# query +alias mq="m search any" +alias mqa="m searchadd any" +alias mlists="m lsplaylist" +alias mlist="m playlist" + +# control +alias mn="m next" +alias mp="m prev" +alias mr="m random" +alias ms="m seek" + +# en mass +alias mshuf="m shuffle" +alias mu="m update --wait" #-----------# # functions # @@ -83,7 +106,7 @@ daily() { if [ ! -e "$NOTES/daily/$date" ]; then echo "$date\n\n$time" >> "$NOTES/daily/$date" else - echo "\n$time" >> "$NOTES/daily/$date" + echo "\n\n$time" >> "$NOTES/daily/$date" fi mked "$NOTES/daily/$date"