1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-17 12:22:57 +00:00
dotfiles/.local/bin/minecraft

16 lines
390 B
Bash
Executable file

#!/bin/bash
cd $D/Games/Minecraft/Game
rm `fd -e log`
bin/MultiMC -d . $@
rm functions/*
for i in `ls -d instances/*/ | grep -v _MMC_TEMP | xargs -n1 basename`
do
echo > functions/$i.fish "function $i
minecraft -l $i; end"
done
for i in `cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1`
do
echo > functions/$i.fish function $i"
qb / \":quickmark-load $i\"; end"
done