From 25cc64f86b66f3929e7922cb6a31d79e20a9679f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 5 May 2013 18:14:07 -0400 Subject: [PATCH] Add -y flag to apt-get --- zsh/lib/os | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/lib/os b/zsh/lib/os index bf369421..859ade14 100644 --- a/zsh/lib/os +++ b/zsh/lib/os @@ -27,11 +27,11 @@ if is_mac; then elif is_deb; then function pkg-install() { - sudo apt-get install $1 + sudo apt-get -y install $1 } function pkg-remove() { - sudo apt-get remove $1 + sudo apt-get -y remove $1 } function pkg-update() {