summaryrefslogtreecommitdiff
path: root/.zsh_functions/movies_smallest
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2021-10-22 22:42:16 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2021-10-22 22:42:16 +0200
commit84d6383e7e10df0b7e3e5dfc839fe7c68657d133 (patch)
treefbc6f0f9df74c7c50f31b4906410f5b6ad38b8bb /.zsh_functions/movies_smallest
parent97e0461b3938abc7cf0cff770a87c1f0c90ec507 (diff)
autoload functions part 2
Diffstat (limited to '.zsh_functions/movies_smallest')
-rw-r--r--.zsh_functions/movies_smallest3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh_functions/movies_smallest b/.zsh_functions/movies_smallest
new file mode 100644
index 0000000..711e1da
--- /dev/null
+++ b/.zsh_functions/movies_smallest
@@ -0,0 +1,3 @@
+ mpv ${=MPVOPTS} \
+ (#i)${1:-.}/**/*.(mpeg|webm|avi|flv|mkv|mpg|wmv|wva|mp4|wva|m4v|ogm|mp4|mov|divx)(oL) \
+ $@