- open your
.zshrcor.bashrcfile
I'm using
zshso 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
edgein 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"