diff options
author | David Runge <david.runge@native-instruments.de> | 2018-04-23 08:28:56 +0200 |
---|---|---|
committer | David Runge <david.runge@native-instruments.de> | 2018-04-23 08:28:56 +0200 |
commit | 95b770f88e8a8411a2a37755add181d93a05ea3c (patch) | |
tree | 1613065889deead2a39c671dfc6b3d2f47a7a7ff | |
parent | e9388c8808079d5b94a8624c6d1418f9b7642b0b (diff) | |
download | dotfiles-95b770f88e8a8411a2a37755add181d93a05ea3c.tar.gz dotfiles-95b770f88e8a8411a2a37755add181d93a05ea3c.tar.bz2 dotfiles-95b770f88e8a8411a2a37755add181d93a05ea3c.tar.xz dotfiles-95b770f88e8a8411a2a37755add181d93a05ea3c.zip |
.zsh.after/aliases.zsh: Adding mpv alias (without explicit audio output) for macOS).
-rw-r--r-- | .zsh.after/aliases.zsh | 4 |
1 files changed, 3 insertions, 1 deletions
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' |