feat(fish): adds a function to plan a random video in the current folder

This commit is contained in:
Bruno Carlin 2022-04-08 22:36:58 +02:00
parent 048e2b01ec
commit 770961c6c4

View file

@ -0,0 +1,7 @@
function play-random
set -l t (random choice *.mp4)
echo (string repeat -n 60 "-")
echo $t
echo (string repeat -n 60 "-")
mpv $t
end