Created
September 21, 2019 08:58
-
-
Save alessaba/58cad7e8eb9650a5bcf5d5c004e171c8 to your computer and use it in GitHub Desktop.
Simple shell function to allow macOS (10.15+) users with an Apple Watch to authenticate sudo requests using the Apple Watch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function awsudo { | |
osascript -e "do shell script \"$*\" with administrator privileges" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment