1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-01-23 21:16:45 +00:00

Fish: Allow Minecraft function to launch instances

This commit is contained in:
Phantop 2019-04-03 19:00:16 -04:00
parent 98d22eda8c
commit 43b6cf046e
3 changed files with 10 additions and 2 deletions

View file

@ -26,3 +26,10 @@ end
# THE FUCK #
thefuck --alias | source
# MULTIMC INSTANCES #
for i in (ls $D/Games/Minecraft/Game/instances/)
function (basename $i | tr '[:upper:]' '[:lower:]') -V i
minecraft -l (basename $i)
end
end

View file

@ -1,4 +1,4 @@
# Defined in /tmp/fish.HFRAAc/minecraft.fish @ line 2
# Defined in /tmp/fish.y65rtl/minecraft.fish @ line 2
function minecraft
cd $D/Games/Minecraft/Game; rm (ff -e log); bin/MultiMC -d .
cd $D/Games/Minecraft/Game; rm (ff -e log); bin/MultiMC -d . $argv
end

View file

@ -11,3 +11,4 @@ ab https://animebytes.tv/torrents.php
tuta https://mail.tutanota.com/mail/LISEQyp-0V-0
timer https://duckduckgo.com/?q=20+min+timer&ia=answer
site https://phantop.github.io/
music https://free-mp3-download.net/