aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-07-11 10:06:12 -0300
committerEuAndreh <eu@euandre.org>2018-07-11 10:06:12 -0300
commita6d8871174d7cba3d0e7030d8325243c6b16887e (patch)
tree9fba6dc13fb68873827615334c3f211c71b1c5aa /scripts
parentSubscribe back (diff)
downloaddotfiles-a6d8871174d7cba3d0e7030d8325243c6b16887e.tar.gz
dotfiles-a6d8871174d7cba3d0e7030d8325243c6b16887e.tar.xz
Remove prompt from gc.sh
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gc.sh b/scripts/gc.sh
index d08c008..dcca50a 100755
--- a/scripts/gc.sh
+++ b/scripts/gc.sh
@@ -21,11 +21,11 @@ rm -rf ~/.local/share/Trash/files/*
## Erasing docker images
-docker system prune -a
+echo y | docker system prune -a
docker rmi $(docker images -a -q)
docker rm $(docker ps -a -f status=exited -q)
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
-docker volume prune
+echo y | docker volume prune