From e6695821cca90fd30fa0b1d5bb91f4fa7bfdfc29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 31 Aug 2023 00:52:34 +0200 Subject: c --- root/.bash_aliases | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'root/.bash_aliases') diff --git a/root/.bash_aliases b/root/.bash_aliases index 9d1b336..07114ac 100644 --- a/root/.bash_aliases +++ b/root/.bash_aliases @@ -1,3 +1,12 @@ +function fancyindex_files () { + for i in `curl -k $1 | grep link | grep -v '-' | cut -d\" -f 4 ` + do + echo $2$i + done +} +function fancyindex_play () { + mpv `fancyindex_files $1 $1/` +} export CT_ALLOW_BUILD_AS_ROOT_SURE=1 function register () { n=`curl -s https://www.register.si | grep nonce | head -n 1 | cut -d\" -f8` -- cgit v1.2.3