From 3ce88cd4144fabf2b8437ed828fc5a35b7825d23 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Fri, 26 Apr 2013 14:00:13 +0300 Subject: [PATCH] bashrc & zshrc: add alias fcorepattern & aptitudeyup... fcorepattern sets core file name as I want and aptitudeyup is aptitude version of aptyup. --- bashrc | 3 +++ zshrc | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/bashrc b/bashrc index 402d9869..030f9492 100644 --- a/bashrc +++ b/bashrc @@ -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 . diff --git a/zshrc b/zshrc index 5cc27fd6..a4b7a5e6 100644 --- a/zshrc +++ b/zshrc @@ -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