1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-09-19 00:20:28 +00:00
dotfiles/.local/bin/minecraft

16 lines
383 B
Plaintext
Raw Normal View History

2020-11-16 02:01:56 +00:00
#!/bin/sh
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