aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-08-13 13:18:54 -0300
committerEuAndreh <eu@euandre.org>2022-08-13 13:18:54 -0300
commit885630d44b51fd6e3dfcacd1d343fab6591d6255 (patch)
tree32c0f59623c34f824ccd60858f9cc4a12511db86 /bin
parentbin/forever: Report on the status code of each run (diff)
downloaddotfiles-885630d44b51fd6e3dfcacd1d343fab6591d6255.tar.gz
dotfiles-885630d44b51fd6e3dfcacd1d343fab6591d6255.tar.xz
bin/gc: Fix password input to sudo
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gc b/bin/gc
index 23a0436..7fc92ec 100755
--- a/bin/gc
+++ b/bin/gc
@@ -65,7 +65,7 @@ disk() {
gc_guix() {
- pass show velhinho/0-andreh-password | sudo -S guix system delete-generations
+ pass show velhinho/0-andreh-password | head -n1 | sudo -iS guix system delete-generations
guix home delete-generations
guix gc -d
}