mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-23 13:48:03 +00:00
Move clean from function to bin
This commit is contained in:
parent
3ca41056f3
commit
988b934ca8
|
@ -1,20 +0,0 @@
|
|||
# Defined in /tmp/fish.WWumAI/clean.fish @ line 2
|
||||
function clean
|
||||
up
|
||||
fc-cache -f -v
|
||||
s sync
|
||||
j -c
|
||||
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|firefox')
|
||||
s bleachbit -c (bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory|firefox')
|
||||
rm -r ~/.cache/*
|
||||
rm -r ~/.nv/*
|
||||
rm -r ~/.local/share/nvim/swap/
|
||||
rm (ff . $D -e log)
|
||||
s solbuild delete-cache
|
||||
s sync
|
||||
end
|
17
.local/bin/clean
Executable file
17
.local/bin/clean
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
sudo eopkg up --y
|
||||
fc-cache -f -v
|
||||
sudo sync
|
||||
fish -c "j -c"
|
||||
sudo eopkg clean -y
|
||||
sudo eopkg dc -y
|
||||
sudo eopkg rmo -y
|
||||
sudo eopkg rdb -y
|
||||
sudo journalctl --vacuum-size=1K
|
||||
bleachbit -c `bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory|firefox'`
|
||||
sudo bleachbit -c `bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory|firefox'`
|
||||
rm -r ~/.cache/*
|
||||
rm -r ~/.local/share/nvim/swap/
|
||||
rm `fd -H -L -i . $D -e log`
|
||||
sudo solbuild delete-cache
|
||||
sudo sync
|
Loading…
Reference in a new issue