mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-16 11:52:47 +00:00
Fish: clean z, supath
This commit is contained in:
parent
0169623149
commit
a0c2f24c26
|
@ -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
|
||||
|
|
4
.config/fish/functions/supath.fish
Normal file
4
.config/fish/functions/supath.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.7kzeFd/supath.fish @ line 1
|
||||
function supath
|
||||
sudo env "PATH=$PATH" $argv
|
||||
end
|
Loading…
Reference in a new issue