add Darwin check
parent
25ab87b85a
commit
0e5a66c48e
2
.bashrc
2
.bashrc
|
@ -90,7 +90,7 @@ alias grep='grep --colour=auto'
|
||||||
alias egrep='egrep --colour=auto'
|
alias egrep='egrep --colour=auto'
|
||||||
alias fgrep='fgrep --colour=auto'
|
alias fgrep='fgrep --colour=auto'
|
||||||
|
|
||||||
xhost +local:root > /dev/null 2>&1
|
[[ "$(uname -s)" == "Darwin" ]] || xhost +local:root > /dev/null 2>&1 && true
|
||||||
|
|
||||||
complete -cf sudo
|
complete -cf sudo
|
||||||
|
|
||||||
|
|
Reference in New Issue