bashrc & zshrc: add alias fcorepattern & aptitudeyup...

fcorepattern sets core file name as I want and aptitudeyup is
aptitude version of aptyup.
This commit is contained in:
Mika Suomalainen 2013-04-26 14:00:13 +03:00
parent da46792d17
commit 3ce88cd414
2 changed files with 8 additions and 0 deletions

3
bashrc
View File

@ -437,10 +437,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"
allias aptitudeyup="aptitude -y update;aptitude -y upgrade;update-grub"
alias apt-gety="apt-get -y "
alias aptitudey="aptitude -y "
# Set core pattern how I want it to be
alias fcorepattern='echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf'
# Allow custom aliases to be put in .aliases or .bash_aliases .

5
zshrc
View File

@ -410,10 +410,15 @@ 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 aptitudeyup="aptitude -y update;aptitude -y upgrade;update-grub"
alias apt-gety="apt-get -y "
alias aptitudey="aptitude -y "
# Set core pattern how I want it to be
alias fcorepattern='echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf'
# .aliases
if [ -f ~/.aliases ]; then
source ~/.aliases