From f98f9a9fca8355580a20def5f656967d8a374106 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 21 Apr 2014 10:18:41 +0300 Subject: [PATCH] bashrc & zshrc: make aptitude suggest apt-* for me. --- .bash_aliases.MKAYSIGREP | 2 ++ .zsh_aliases.MKAYSIGREP | 1 + bashrc | 4 +++- zshrc | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.bash_aliases.MKAYSIGREP b/.bash_aliases.MKAYSIGREP index 57cae04f..60173441 100644 --- a/.bash_aliases.MKAYSIGREP +++ b/.bash_aliases.MKAYSIGREP @@ -7,3 +7,5 @@ alias proxychains="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS alias checkinstall="make install " # MKAYSIGREP # MKAYSIGREPALIAS alias gpg=gpg2 # MKAYSIGREP # MKAYSIGREPALIAS alias wget="echo Running curl -LO instead of wget && curl -LO " # MKAYSIGREP # MKAYSIGREPALIAS +alias aptitude='"You might want to try apt-* instead...' #MKAYSIGREP + diff --git a/.zsh_aliases.MKAYSIGREP b/.zsh_aliases.MKAYSIGREP index 0a814777..b6a07942 100644 --- a/.zsh_aliases.MKAYSIGREP +++ b/.zsh_aliases.MKAYSIGREP @@ -8,3 +8,4 @@ alias checkinstall="make install " # MKAYSIGREP MKAYSIGREPALIAS alias gpg=gpg2 # MKAYSIGREP MKAYSIGREPALIAS compdef gpg2=gpg # MKAYSIGREP MKAYSIGREPALIAS alias wget="echo Running curl -LO instead of wget && curl -LO " # MKAYSIGREP # MKAYSIGREPALIAS +alias aptitude='"You might want to try apt-* instead...' #MKAYSIGREP MKAYSIALIAS diff --git a/bashrc b/bashrc index a298263f..e70f5611 100644 --- a/bashrc +++ b/bashrc @@ -453,7 +453,7 @@ alias rss=reset # Who command which I use with Conky alias cwho="who -H -w -u" -# Upgrading Redhad/Debian +# Upgrading Redhat/Debian alias yumyup="yum -y check-update;yum -y update;grub2-mkconfig -o /boot/grub2/grub.cfg" alias apt-getyup="apt-get -y update;apt-get -y upgrade;update-grub" alias aptitudeyup="aptitude -y update;aptitude -y upgrade;update-grub" @@ -463,6 +463,8 @@ alias apty="apt -y" alias apt-gety="apt-get -y " alias aptitudey="aptitude -y " +#alias aptitude='"You might want to try apt-* instead...' #MKAYSIGREP #MKAYSIGREPALIAS + # Set core pattern how I want it to be alias fcorepattern='echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf;sysctl -f' diff --git a/zshrc b/zshrc index e267ce9a..8c10e3d8 100644 --- a/zshrc +++ b/zshrc @@ -437,6 +437,8 @@ alias apt-gety="apt-get -y " alias aptitudey="aptitude -y " alias apty="apt -y" +#alias aptitude='"You might want to try apt-* instead...' # MKAYSIGREP #MKAYSIGREPALIAS + # Set core pattern how I want it to be alias fcorepattern='echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf;sysctl -f'