mirror of
https://github.com/Phantop/dotfiles
synced 2025-02-11 14:03:06 +00:00
Fish: remove mcr, adjust minecraft java
This commit is contained in:
parent
e3d7848498
commit
ca17158791
|
@ -1,3 +0,0 @@
|
||||||
function mcr
|
|
||||||
eval $D/Games/Minecraft/Server/mcrcon localhost password
|
|
||||||
end
|
|
|
@ -1,15 +1,7 @@
|
||||||
# Defined in /tmp/fish.STnBun/minecraft.fish @ line 2
|
# Defined in /home/glados/.config/fish/functions/minecraft.fish @ line 2
|
||||||
function minecraft
|
function minecraft
|
||||||
cd $D/Games/Minecraft/Game
|
cd $D/Games/Minecraft/Game
|
||||||
rm (ff -e log)
|
rm (ff -e log)
|
||||||
if not which java
|
|
||||||
gnome-disk-image-mounter $D/Installs/squash/java
|
|
||||||
if not pgrep caja
|
|
||||||
caja & sleep 1
|
|
||||||
kj
|
|
||||||
end
|
|
||||||
end
|
|
||||||
set -x PATH /run/media/$USER/disk*/bin $PATH
|
|
||||||
bin/MultiMC -d . $argv
|
bin/MultiMC -d . $argv
|
||||||
rm functions/*
|
rm functions/*
|
||||||
for i in (ls -d instances/*/ | grep -v _MMC_TEMP | xargs -n1 basename)
|
for i in (ls -d instances/*/ | grep -v _MMC_TEMP | xargs -n1 basename)
|
||||||
|
|
Loading…
Reference in a new issue