From 66911a6ce000e837b3885412a30c1a137baafa9d Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 26 Feb 2015 14:48:44 +0100 Subject: [PATCH] Prefix some commands with sudo (aptitude, ...). --- zshrc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/zshrc b/zshrc index 9551365..518bb2f 100644 --- a/zshrc +++ b/zshrc @@ -84,13 +84,13 @@ alias most='most -w' if [ -d /etc/apt ]; then alias show='aptitude show' alias se='aptitude search' - alias ins='aptitude install' - alias insexperimental='aptitude -t experimental install' - alias up='aptitude update' - alias upg='aptitude upgrade' - alias fup='aptitude full-upgrade' - alias apcl='aptitude clean' - alias apurge="aptitude purge '~c'" + alias ins='sudo aptitude install' + alias insexperimental='sudo aptitude -t experimental install' + alias up='sudo aptitude update' + alias upg='sudo aptitude upgrade' + alias fup='sudo aptitude full-upgrade' + alias apcl='sudo aptitude clean' + alias apurge="sudo aptitude purge '~c'" alias version='apt-show-versions' alias pol='apt-cache policy ' else