1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-09 00:14:53 +00:00
dotfiles/.local/bin/minecraft

16 lines
385 B
Plaintext
Raw Normal View History

2020-08-04 03:17:43 +00:00
#!/bin/bash
2020-10-07 12:45:22 +00:00
cd $D/Games/Minecraft
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