- Open up Terminal
- Run
nano ~/.zshenv
- Enter your Terminal shortcuts
- Save the .zshenv file
Setting a shortcut such as:
alias code="open -a 'Visual Studio Code'"
…will allow you to edit the .zshenv file in your favourite text editor, next time.
nano ~/.zshenv
Setting a shortcut such as:
alias code="open -a 'Visual Studio Code'"
…will allow you to edit the .zshenv file in your favourite text editor, next time.