Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
f8bf88ed
Unverified
Commit
f8bf88ed
authored
Apr 03, 2023
by
Marc Cornellà
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(installer): remove words triggering false positives in antiviruses
parent
d47e1d65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
install.sh
tools/install.sh
+1
-2
No files found.
tools/install.sh
View file @
f8bf88ed
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment