mirror of
https://github.com/Phantop/dotfiles
synced 2025-02-11 05:53:05 +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,23 +1,15 @@
|
||||||
# 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)
|
||||||
echo > functions/$i.fish "function $i
|
echo > functions/$i.fish "function $i
|
||||||
minecraft -l $i; end"
|
minecraft -l $i; end"
|
||||||
end
|
end
|
||||||
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
|
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
|
||||||
echo > functions/$i.fish function $i"
|
echo > functions/$i.fish function $i"
|
||||||
qb / \":quickmark-load $i\"; end"
|
qb / \":quickmark-load $i\"; end"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue