diff --git a/fish/.config/fish/functions/play-random.fish b/fish/.config/fish/functions/play-random.fish new file mode 100644 index 0000000..eaeafc4 --- /dev/null +++ b/fish/.config/fish/functions/play-random.fish @@ -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