mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 23:19:25 +00:00
[Fix #732] Replace $GREP_OPTIONS with an alias
This commit is contained in:
@ -102,6 +102,12 @@ alias lc='lt -c' # Lists sorted by date, most recent last, shows change
|
||||
alias lu='lt -u' # Lists sorted by date, most recent last, shows access time.
|
||||
alias sl='ls' # I often screw this up.
|
||||
|
||||
# Grep
|
||||
if zstyle -t ':prezto:module:utility:grep' color; then
|
||||
export GREP_COLOR='37;45'
|
||||
alias grep="$aliases[grep] --color=auto"
|
||||
fi
|
||||
|
||||
# Mac OS X Everywhere
|
||||
if [[ "$OSTYPE" == darwin* ]]; then
|
||||
alias o='open'
|
||||
|
Reference in New Issue
Block a user