Skip to content

Instantly share code, notes, and snippets.

@loganlinn
Last active August 29, 2020 22:06
Show Gist options
  • Save loganlinn/2480641df1720efae8429c6c2af6e16e to your computer and use it in GitHub Desktop.
Save loganlinn/2480641df1720efae8429c6c2af6e16e to your computer and use it in GitHub Desktop.
Removing macOS login item for Steam from the command-line using `osascript`
$ osascript -e 'tell application "System Events" to get the name of every login item'
Steam, Google Drive File Stream
$ osascript -e 'tell application "System Events" to delete login item "Steam"'
$ osascript -e 'tell application "System Events" to get the name of every login item'
Google Drive File Stream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment