1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-09-28 12:58:57 +00:00

Fish: remove pia, mcs, fruitdl

This commit is contained in:
Phantop 2020-07-19 22:12:19 -04:00
parent 775faae9dd
commit 5cf67997b0
4 changed files with 2 additions and 17 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,3 +0,0 @@
function pia
eval $D/Source/pia/pia-manager.py
end