You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
dotfiles/.aliases.d/apt_get.sh

10 lines
483 B

if [ -x /usr/bin/apt-get ]; then
alias agi='sudo apt-get install'
alias agr='sudo apt-get remove'
alias agu='sudo apt-get update'
alias acs='apt-cache search'
alias cddeb='cd /var/cache/apt/archives'
alias apt-upgrades="sudo apt update && sudo apt -y upgrade && notify-send 'Updates Complete' 'Your system updated successfully!' -u normal -t 7500 -i checkbox-checked-symbolic"
else
alias {agi,agr,agu,acs,cddeb,apt-upgrades}='echo "Sorry, apt-get is not installed"'
fi