Skip to content

Commit

Permalink
no sudo for apt-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Georg Ogris committed Nov 5, 2015
1 parent 6d7e546 commit 7abde2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aliases/available/apt.aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ about-alias 'Apt and dpkg aliases for Ubuntu and Debian distros.'
function _set_pkg_aliases()
{
if [ -x $(which apt) ]; then
alias apts='sudo apt-cache search'
alias aptshow='sudo apt-cache show'
alias apts='apt-cache search'
alias aptshow='apt-cache show'
alias aptinst='sudo apt-get install -V'
alias aptupd='sudo apt-get update'
alias aptupg='sudo apt-get dist-upgrade -V && sudo apt-get autoremove'
Expand Down

0 comments on commit 7abde2f

Please sign in to comment.