diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2021-10-22 22:42:16 +0200 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2021-10-22 22:42:16 +0200 |
commit | 84d6383e7e10df0b7e3e5dfc839fe7c68657d133 (patch) | |
tree | fbc6f0f9df74c7c50f31b4906410f5b6ad38b8bb /.zsh_functions/mpvshuffledir | |
parent | 97e0461b3938abc7cf0cff770a87c1f0c90ec507 (diff) |
autoload functions part 2
Diffstat (limited to '.zsh_functions/mpvshuffledir')
-rw-r--r-- | .zsh_functions/mpvshuffledir | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.zsh_functions/mpvshuffledir b/.zsh_functions/mpvshuffledir new file mode 100644 index 0000000..927c15b --- /dev/null +++ b/.zsh_functions/mpvshuffledir @@ -0,0 +1,4 @@ + mpv ${=MPVOPTS} \ + --shuffle \ + (#i)${1:-.}/**/*.(mpeg|webm|avi|flv|mkv|mpg|wmv|wva|mp4|wva|m4v|ogm|mp4|mov|divx) \ + $@ |