fish function to clean nix
This commit is contained in:
parent
abb7d7d5c4
commit
9ba2128a6e
1 changed files with 7 additions and 0 deletions
|
@ -191,6 +191,13 @@ function s
|
||||||
ssh (whoami)@$argv
|
ssh (whoami)@$argv
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function garbage
|
||||||
|
sudo nix-collect-garbage --delete-old
|
||||||
|
nix-collect-garbage --delete-old
|
||||||
|
sudo nix-store --gc
|
||||||
|
nix-store --gc
|
||||||
|
end
|
||||||
|
|
||||||
set fish_greeting # Disable greeting
|
set fish_greeting # Disable greeting
|
||||||
|
|
||||||
fastfetch
|
fastfetch
|
||||||
|
|
Loading…
Add table
Reference in a new issue