summaryrefslogtreecommitdiffstats
path: root/root/.bash_aliases
diff options
context:
space:
mode:
Diffstat (limited to 'root/.bash_aliases')
-rw-r--r--root/.bash_aliases9
1 files changed, 9 insertions, 0 deletions
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 '<td class="size">-</td>' | 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`