bashrc & zshrc: add upgrade aliases

This commit is contained in:
Mika Suomalainen 2013-02-27 10:50:43 +02:00
parent 3803087b9e
commit 4e788589e4
2 changed files with 8 additions and 0 deletions

4
bashrc
View File

@ -434,6 +434,10 @@ alias rss=reset
# Who command which I use with Conky # Who command which I use with Conky
alias cwho="who -H -w -u" alias cwho="who -H -w -u"
# Upgrading Redhad/Debian
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"
# Allow custom aliases to be put in .aliases or .bash_aliases . # Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases # .aliases

4
zshrc
View File

@ -407,6 +407,10 @@ alias rss=reset
# Who command which I use with Conky # Who command which I use with Conky
alias cwho="who -H -w -u" alias cwho="who -H -w -u"
# Upgrading Redhad/Debian
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"
# .aliases # .aliases
if [ -f ~/.aliases ]; then if [ -f ~/.aliases ]; then
source ~/.aliases source ~/.aliases