bashrc & zshrc: fix typo in refreshgroups alias & add alias to use incase-sensitive grep by default.

This commit is contained in:
Mika Suomalainen 2012-08-31 17:48:55 +03:00
parent ffb00611bd
commit bc6fdc8845
2 changed files with 7 additions and 2 deletions

5
bashrc
View File

@ -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 .

4
zshrc
View File

@ -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