Skip to main content

For those of you that run Z shell with iTerm2, add this to your ~/.zshrc file.:

alias code="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code" 
alias code="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code" 

For those of you that run Z shell with iTerm2, add this to your ~/.zshrc file.

alias code="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code" 

For those of you that run Z shell with iTerm2, add this to your ~/.zshrc file:

alias code="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code" 
Active reading [<https://en.wikipedia.org/wiki/Z_shell> <https://en.wikipedia.org/wiki/ITerm2>].
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

For those of you that run ZShellZ shell with Iterm2iTerm2, add this to your ~/.zshrc file.

alias code="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code" 

For those of you that run ZShell with Iterm2, add this to your ~/.zshrc file.

alias code="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code" 

For those of you that run Z shell with iTerm2, add this to your ~/.zshrc file.

alias code="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code" 
Source Link
Justin Rice
  • 1.3k
  • 13
  • 13

For those of you that run ZShell with Iterm2, add this to your ~/.zshrc file.

alias code="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code"