summaryrefslogtreecommitdiff
path: root/.zsh_functions/movies_newest
diff options
context:
space:
mode:
Diffstat (limited to '.zsh_functions/movies_newest')
-rw-r--r--.zsh_functions/movies_newest3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh_functions/movies_newest b/.zsh_functions/movies_newest
new file mode 100644
index 0000000..482fba8
--- /dev/null
+++ b/.zsh_functions/movies_newest
@@ -0,0 +1,3 @@
+ mpv ${=MPVOPTS} \
+ (#i)${1:-.}/**/*.(mpeg|webm|avi|flv|mkv|mpg|wmv|wva|mp4|wva|m4v|ogm|mp4|mov|divx)(om) \
+ $@