Skip to content

Instantly share code, notes, and snippets.

@seahrh
Created July 8, 2024 03:10
Show Gist options
  • Save seahrh/74d0f8803883e6d6c05e3d8a1350e449 to your computer and use it in GitHub Desktop.
Save seahrh/74d0f8803883e6d6c05e3d8a1350e449 to your computer and use it in GitHub Desktop.
  1. open your .zshrc or .bashrc file
code ~/.zshrc
  1. add an alias for edge

MacOS way to do it:

alias edge="open -a Microsoft\ Edge $1"

alternative way:

alias edge="/Applications/Microsoft\ Edge.app/Contents/MacOS/Microsoft\ Edge"

  1. open a new session, or run source ~/.zshrc(`source ~/.bashrc if you are using bash) to make the alias work
  2. type edge in the new session and press enter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment