From bc6fdc884577f4be260cb3d5106fd854c4e1ad1a Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Fri, 31 Aug 2012 17:48:55 +0300 Subject: [PATCH] bashrc & zshrc: fix typo in refreshgroups alias & add alias to use incase-sensitive grep by default. --- bashrc | 5 ++++- zshrc | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 8cb116e5..a9038e33 100755 --- a/bashrc +++ b/bashrc @@ -331,7 +331,10 @@ alias myip6="curl -s6 http://icanhazip.com" alias wget="echo Running curl -LO instead of wget && curl -LO " # Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/ -alias refrshgroups="exec su -l $USER" +alias refreshgroups="exec su -l $USER" + +# Incasesensitive grepping +alias grep="grep -i" # Allow custom aliases to be put in .aliases or .bash_aliases . diff --git a/zshrc b/zshrc index 505f4757..3cf4380e 100755 --- a/zshrc +++ b/zshrc @@ -280,8 +280,10 @@ alias myip6="curl -s6 http://icanhazip.com" alias wget="echo Running curl -LO instead of wget && curl -LO " # Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/ -alias refrshgroups="exec su -l $USER" +alias refreshgroups="exec su -l $USER" +# Incasesensitive grepping +alias grep="grep -i" # .aliases if [ -f ~/.aliases ]; then