mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-29 08:16:52 +00:00
16 lines
383 B
Bash
Executable file
16 lines
383 B
Bash
Executable file
#!/bin/sh
|
|
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
|