- open your
.zshrc
or.bashrc
file
I'm using
zsh
so the command isvim ~/.zsh
- add an alias for edge
alias edge="/Applications/Microsoft\ Edge.app/Contents/MacOS/Microsoft\ Edge"
- open a new session, or run
source ~/.zshrc
(`source ~/.bashrc if you are using bash) to make the alias work - type
edge
in the new session and press enter
Update:
To get rid of output from console generated from edge, change the alias as following:
alias edge="/Applications/Microsoft\ Edge.app/Contents/MacOS/Microsoft\ Edge > /dev/null 2>&1"