diff --git a/rc/bashrc b/rc/bashrc index 9ff44f86..0dab324e 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -92,9 +92,9 @@ if [ -x /usr/bin/dircolors ]; then alias dir='dir --color=always' alias vdir='vdir --color=always' - alias grep='grep --color=always' - alias fgrep='fgrep --color=always' - alias egrep='egrep --color=always' + alias grep='grep -i --color=always' + alias fgrep='fgrep -i --color=always' + alias egrep='egrep -i --color=always' fi # some more ls aliases @@ -322,11 +322,6 @@ alias supybot-generate-messages.pot-mass="find . -type d -exec sh -c '(cd {} && if [[ $UNAME != Darwin ]]; then alias ls='ls --color=always' fi -alias dir='dir --color=always' -alias vdir='vdir --color=always' -alias grep='grep --color=always' -alias fgrep='fgrep --color=always' -alias egrep='egrep --color=always' # some more ls aliases if [[ $UNAME != Darwin ]]; then alias ll='ls -alFh --color=always' && alias la='ls -A --color=always' && alias l='ls -CF --color=always' @@ -390,9 +385,6 @@ alias myip="myip4 && myip6" # Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/ alias refreshgroups="exec su -l $USER" -# Incasesensitive grepping -alias grep="grep -i" - # Get public key lenght of (public) SSH key alias ssh-pubkey-length="ssh-keygen -lf " diff --git a/rc/zshrc b/rc/zshrc index 863c05a5..6f1a76b4 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -283,9 +283,9 @@ if [[ $UNAME != Darwin ]]; then fi alias dir='dir --color=always' alias vdir='vdir --color=always' -alias grep='grep --color=always' -alias fgrep='fgrep --color=always' -alias egrep='egrep --color=always' +alias grep='grep -i --color=always' +alias fgrep='fgrep -i --color=always' +alias egrep='egrep -i --color=always' # some more ls aliases if [[ "$UNAME" != "Darwin" ]]; then alias ll='ls -alFh --color=always' && alias la='ls -A --color=always' && alias l='ls -CF --color=always' @@ -369,9 +369,6 @@ alias myip="myip4 && myip6" # Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/ alias refreshgroups="exec su -l $USER" -# Incasesensitive grepping -alias grep="grep -i" - # Get public key lenght of (public) SSH key alias ssh-pubkey-length="ssh-keygen -lf "