fixed grep color param, added brew completion
This commit is contained in:
parent
53d2e8f926
commit
9b967b0950
7
.bashrc
7
.bashrc
@ -12,6 +12,11 @@ fi
|
|||||||
if [ -f /usr/local/etc/bash_completion.d/git-prompt.sh ]; then
|
if [ -f /usr/local/etc/bash_completion.d/git-prompt.sh ]; then
|
||||||
source /usr/local/etc/bash_completion.d/git-prompt.sh
|
source /usr/local/etc/bash_completion.d/git-prompt.sh
|
||||||
fi
|
fi
|
||||||
|
if type brew 2&>/dev/null; then
|
||||||
|
for completion_file in $(brew --prefix)/etc/bash_completion.d/*; do
|
||||||
|
source "$completion_file"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
|
||||||
@ -43,7 +48,7 @@ if [ "$(uname)" = "Darwin" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
alias ls="ls ${colorOption}"
|
alias ls="ls ${colorOption}"
|
||||||
alias grep="grep --color-auto"
|
alias grep="grep --color=auto"
|
||||||
alias egrep="egrep --color=auto"
|
alias egrep="egrep --color=auto"
|
||||||
alias fgrep="fgrep --color=auto"
|
alias fgrep="fgrep --color=auto"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user