Skip to content

Commit

Permalink
GREP_OPTIONS is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
gray committed Jul 1, 2015
1 parent c088bf1 commit 3494b59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .bash_aliases
Expand Up @@ -13,8 +13,8 @@ alias llta="ls $LS_OPTIONS -FlhtrA"
alias lls="ls $LS_OPTIONS -FlhSr"
alias llsa="ls $LS_OPTIONS -FlhSrA"

# Don't try to connect to the X server- shortens startup time.
alias vim='vim -X'
alias grep='grep --color=auto --devices=skip --binary-files=without-match'

alias vi=vim

# Use human-readable unit sizes, in base 2.
Expand All @@ -41,6 +41,8 @@ alias sqlite=sqlite3

case $OSTYPE in
darwin*)
# Don't try to connect to the X server- shortens startup time.
alias vim='vim -X'
alias gvim=mvim
;;
*)
Expand Down
1 change: 0 additions & 1 deletion .bashrc
Expand Up @@ -84,7 +84,6 @@ export LESS_TERMCAP_se=$ANSI_RESET
export LESS_TERMCAP_ue=$ANSI_RESET
export LESS_TERMCAP_us=${ANSI_BOLD}${ANSI_GREEN}

export GREP_OPTIONS='--color=auto --devices=skip --binary-files=without-match'
export GREP_COLOR='33;44'

if ls --version >/dev/null 2>&1; then
Expand Down

0 comments on commit 3494b59

Please sign in to comment.