bashrc & zshrc: add apt-gety & aptitudey.

Debian side of yumyup.
This commit is contained in:
Mika Suomalainen 2013-04-10 16:57:55 +03:00
parent 6fc5d9d30e
commit 57d303f8b6
2 changed files with 7 additions and 0 deletions

4
bashrc
View File

@ -438,6 +438,10 @@ alias cwho="who -H -w -u"
alias yumyup="yum -y check-update;yum -y update;grub2-mkconfig -o /boot/grub2/grub.cfg"
alias aptyup="apt-get -y update;apt-get -y upgrade;update-grub"
alias apt-gety="apt-get -y "
alias aptitude="aptitude -y "
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

3
zshrc
View File

@ -411,6 +411,9 @@ alias cwho="who -H -w -u"
alias yumyup="yum -y check-update;yum -y update;grub2-mkconfig -o /boot/grub2/grub.cfg"
alias aptyup="apt-get -y update;apt-get -y upgrade;update-grub"
alias apt-gety="apt-get -y "
alias aptitude="aptitude -y "
# .aliases
if [ -f ~/.aliases ]; then
source ~/.aliases