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