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

16 lines
390 B
Plaintext
Raw Normal View History

2020-08-04 03:17:43 +00:00
#!/bin/bash
cd $D/Games/Minecraft/Game
2020-08-09 16:11:50 +00:00
rm `fd -e log`
2020-08-04 03:17:43 +00:00
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