add Darwin check

master
Andrew Coleman 2021-03-30 13:57:55 -04:00
parent 25ab87b85a
commit 0e5a66c48e
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ alias grep='grep --colour=auto'
alias egrep='egrep --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