1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-11-30 08:07:19 +00:00

Fish: clean z, supath

This commit is contained in:
Phantop 2020-01-06 23:16:20 -05:00
parent 0169623149
commit a0c2f24c26
2 changed files with 20 additions and 14 deletions

View file

@ -1,16 +1,18 @@
# Defined in /tmp/fish.n7VMen/clean.fish @ line 2
function clean function clean
s printf \ s printf \
fc-cache -f -v j -c
se clean -y fc-cache -f -v
se dc -y se clean -y
se rmo -y se dc -y
se rdb -y se rmo -y
s journalctl --vacuum-size=1K se rdb -y
bleachbit -c (bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory') s journalctl --vacuum-size=1K
s bleachbit -c (bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory') bleachbit -c (bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory')
rm -r ~/.cache/* s bleachbit -c (bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory')
rm -r ~/.nv/* rm -r ~/.cache/*
rm -r ~/.local/share/nvim/swap/ rm -r ~/.nv/*
rm -r $D/Games/Emulators/*/canary rm -r ~/.local/share/nvim/swap/
rm -r $D/Games/Emulators/*/*og* rm -r $D/Games/Emulators/*/canary
rm -r $D/Games/Emulators/*/*og*
end end

View file

@ -0,0 +1,4 @@
# Defined in /tmp/fish.7kzeFd/supath.fish @ line 1
function supath
sudo env "PATH=$PATH" $argv
end