summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2017-04-20 06:16:44 +0200
committerTharre <tharre3@gmail.com>2017-04-20 06:16:44 +0200
commit1bbabf2638038ee3bbe953442fc4e45ca8e35b5f (patch)
tree40521f1c940fcdce43fe5b847d760f2cedfa4d89 /.zshrc
parented1fb97ff3e658c17b071a96a81f298bad91069a (diff)
downloaddotfiles-1bbabf2638038ee3bbe953442fc4e45ca8e35b5f.tar.gz
dotfiles-1bbabf2638038ee3bbe953442fc4e45ca8e35b5f.tar.xz
dotfiles-1bbabf2638038ee3bbe953442fc4e45ca8e35b5f.zip
zsh: make play() work for when 'bestaudio' fails
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index 7952b35..cbf0fa6 100644
--- a/.zshrc
+++ b/.zshrc
@@ -117,8 +117,8 @@ function play {
mpv $(youtube-dl --default-search=ytsearch: \
--max-downloads 1 \
--youtube-skip-dash-manifest \
- --format="bestaudio" \
- -g "$*")
+ --format="bestaudio/best" \
+ -g "$*") --no-video
}
# update