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

16 lines
385 B
Bash
Executable file

#!/bin/bash
cd $D/Games/Minecraft
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