mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
chore(installer): remove words triggering false positives in antiviruses
This commit is contained in:
parent
d47e1d65f6
commit
f8bf88edca
1 changed files with 1 additions and 2 deletions
|
@ -84,8 +84,7 @@ command_exists() {
|
|||
user_can_sudo() {
|
||||
# Check if sudo is installed
|
||||
command_exists sudo || return 1
|
||||
# Termux can't run sudo unless the device is rooted. Either way, `chsh` works
|
||||
# without sudo, so we can detect it and exit the function early.
|
||||
# Termux can't run sudo, so we can detect it and exit the function early.
|
||||
case "$PREFIX" in
|
||||
*com.termux*) return 1 ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue