~jacksonchen666/dotfiles

5294ddef370a9a55457e46c16d61f7d6b1452d4f — Jackson 7 months ago 63acf79
multiple args to music command
1 files changed, 1 insertions(+), 1 deletions(-)

M .bashrc.pre-oh-my-bash
M .bashrc.pre-oh-my-bash => .bashrc.pre-oh-my-bash +1 -1
@@ 295,7 295,7 @@ unmetered() {
}

music() {
    mpv --no-audio-display --no-resume-playback --loop-playlist=inf --shuffle "${1:-$DEFAULT_MUSIC_FOR_MPV}"
    mpv --no-audio-display --no-resume-playback --loop-playlist=inf --shuffle "${@:-$DEFAULT_MUSIC_FOR_MPV}"
}
alias m="music"