From 4e788589e49a58a58960eacf36d521725db45856 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Wed, 27 Feb 2013 10:50:43 +0200 Subject: [PATCH] bashrc & zshrc: add upgrade aliases --- bashrc | 4 ++++ zshrc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bashrc b/bashrc index b04cef89..2d973f27 100644 --- a/bashrc +++ b/bashrc @@ -434,6 +434,10 @@ alias rss=reset # Who command which I use with Conky 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 . # .aliases diff --git a/zshrc b/zshrc index ca669ef1..61ee519f 100644 --- a/zshrc +++ b/zshrc @@ -407,6 +407,10 @@ alias rss=reset # Who command which I use with Conky 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 if [ -f ~/.aliases ]; then source ~/.aliases