dot

packages and services management
Log | Files | Refs | README

commit f7ca7f15404578bd018cf897e2c4828b63db85d8
parent 8f883a8dd85d50b299dfb185fd16c2ee77bf1cba
Author: Josuah Demangeon⠠⠵ <mail@josuah.net>
Date:   Mon,  6 Mar 2017 01:47:29 +0100

Updated scripts

Diffstat:
Mbin/git-prompt | 1+
Mbin/play | 12++++--------
2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/bin/git-prompt b/bin/git-prompt @@ -43,4 +43,5 @@ END { if (behind ) printf " \033[31m↓\033[0m%d", behind ; if (ahead ) printf " \033[36m↑\033[0m%d", ahead ; } + printf(" "); }' diff --git a/bin/play b/bin/play @@ -1,12 +1,8 @@ #!/bin/sh # play all music from directories and files passed as argument with mplayer -IFS=' -' -exec mplayer $( - for path in "$@" - do - find "$path" -type f -name '*.flac' | sort - done -) +for path in "$@" +do + find "$path" -type f -name '*.flac' | sort +done | xargs mplayer