Visual Studio Code lets you “install” the code command to open files in VSCode from the terminal… But how about doing it ourselves? alias as always to the rescue. You just need to add the following to your .bashrc or .zshrc file

For VS Code:

alias code="open -a Visual\ Studio\ Code"

For others:

alias code="open -a <APPLICATION_NAME>"
[Daily Tip] How to force GitHub pages to rebuild [Daily Tip] Iterate between Date objects in ruby