bashrc & zshrc: fix my weird apt*up aliases that I haven't ever used.

This commit is contained in:
Mikaela Suomalainen 2014-04-20 13:04:56 +03:00
parent 38f87d6933
commit fe2f84234f
2 changed files with 6 additions and 2 deletions

4
bashrc
View File

@ -454,9 +454,11 @@ 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"
alias apt-getyup="apt-get -y update;apt-get -y upgrade;update-grub"
alias aptitudeyup="aptitude -y update;aptitude -y upgrade;update-grub"
alias aptyup="apt -y update;apt -y upgrade;update-grub"
alias apty="apt -y"
alias apt-gety="apt-get -y "
alias aptitudey="aptitude -y "

4
zshrc
View File

@ -427,11 +427,13 @@ 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"
alias apt-getyup="apt-get -y update;apt-get -y upgrade;update-grub"
alias aptitudeyup="aptitude -y update;aptitude -y upgrade;update-grub"
alias aptyup="apt -y update;apt -y upgrade;update-grub"
alias apt-gety="apt-get -y "
alias aptitudey="aptitude -y "
alias apty="apt -y"
# Set core pattern how I want it to be
alias fcorepattern='echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf;sysctl -f'