feat(bud): add bud gc shortcut
This commit is contained in:
parent
6b7c00e6ef
commit
aa387a6f97
2 changed files with 14 additions and 0 deletions
7
shell/bud/gc.bash
Normal file
7
shell/bud/gc.bash
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ -x /run/wrappers/bin/sudo ]; then
|
||||
export PATH=/run/wrappers/bin:$PATH
|
||||
fi
|
||||
nix-collect-garbage "${@}"
|
||||
sudo nix-collect-garbage "${@}"
|
Loading…
Add table
Add a link
Reference in a new issue