From 95b770f88e8a8411a2a37755add181d93a05ea3c Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 23 Apr 2018 08:28:56 +0200 Subject: .zsh.after/aliases.zsh: Adding mpv alias (without explicit audio output) for macOS). --- .zsh.after/aliases.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh index a5afca6..8a86938 100644 --- a/.zsh.after/aliases.zsh +++ b/.zsh.after/aliases.zsh @@ -38,7 +38,9 @@ for index ({1..9}) alias "$index"="cd +${index}"; unset index #MPLAYER alias mplayer='mplayer -ao jack,pulse,alsa' alias mpv='mpv -ao jack,pulse,alsa --sub-auto=fuzzy' - +if [[ "$VENDOR" == "apple" ]]; then + alias mpv='mpv --sub-auto=fuzzy' +fi ##DU alias du1='du -hd1' -- cgit v1.2.3-70-g09d2