1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-25 00:03:29 +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
s printf \
fc-cache -f -v
se clean -y
se dc -y
se rmo -y
se rdb -y
s journalctl --vacuum-size=1K
bleachbit -c (bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory')
s bleachbit -c (bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory')
rm -r ~/.cache/*
rm -r ~/.nv/*
rm -r ~/.local/share/nvim/swap/
rm -r $D/Games/Emulators/*/canary
rm -r $D/Games/Emulators/*/*og*
s printf \
j -c
fc-cache -f -v
se clean -y
se dc -y
se rmo -y
se rdb -y
s journalctl --vacuum-size=1K
bleachbit -c (bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory')
s bleachbit -c (bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory')
rm -r ~/.cache/*
rm -r ~/.nv/*
rm -r ~/.local/share/nvim/swap/
rm -r $D/Games/Emulators/*/canary
rm -r $D/Games/Emulators/*/*og*
end

View file

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