mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-16 11:52:47 +00:00
Fish: remove pia, mcs, fruitdl
This commit is contained in:
parent
775faae9dd
commit
5cf67997b0
|
@ -1,4 +1,4 @@
|
|||
# Defined in /tmp/fish.ZMRtWG/clean.fish @ line 2
|
||||
# Defined in /tmp/fish.WWumAI/clean.fish @ line 2
|
||||
function clean
|
||||
up
|
||||
fc-cache -f -v
|
||||
|
@ -14,6 +14,7 @@ function clean
|
|||
rm -r ~/.cache/*
|
||||
rm -r ~/.nv/*
|
||||
rm -r ~/.local/share/nvim/swap/
|
||||
rm (ff . $D -e log)
|
||||
s solbuild delete-cache
|
||||
s sync
|
||||
end
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
# Defined in /tmp/fish.pU4dvl/fruitdl.fish @ line 2
|
||||
function fruitdl
|
||||
rm -r $argv[2]
|
||||
set file (curl -sL github.com/$argv[1]-emu/$argv[1]-$argv[2]/releases/latest| grep -om1 $argv[1]-emu/$argv[1]-$argv[2]/releases/download/$argv[2]-[0-9]\*/$argv[1]-linux-[0-9]\*-[0-9a-f]\*).7z
|
||||
dl http://github.com/$file
|
||||
set file (basename $file)
|
||||
7z x $file
|
||||
rm $file
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
function mcs
|
||||
cd $D/Games/Minecraft/Server
|
||||
java -Xmx8G -Xms1G -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:ParallelGCThreads=4 -jar server.jar nogui
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function pia
|
||||
eval $D/Source/pia/pia-manager.py
|
||||
end
|
Loading…
Reference in a new issue