1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-18 04:42:49 +00:00
dotfiles/.config/fish/functions/minecraft.fish

16 lines
517 B
Fish
Raw Normal View History

# Defined in /home/glados/.config/fish/functions/minecraft.fish @ line 2
function minecraft
cd $D/Games/Minecraft/Game
rm (ff -e log)
bin/MultiMC -d . $argv
rm functions/*
for i in (ls -d instances/*/ | grep -v _MMC_TEMP | xargs -n1 basename)
echo > functions/$i.fish "function $i
minecraft -l $i; end"
end
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
echo > functions/$i.fish function $i"
qb / \":quickmark-load $i\"; end"
end
2018-11-15 01:01:37 +00:00
end