개발자 Dane 2021. 1. 19. 20:57
반응형

shell code 등록 하기

vscode 명령어 팔레트(단축키 cmd+p) 에서 code 검색

 

Shell Command : Install "code" command in PATH

를 실행해주면 터미널에서 code 를 사용할수 있게 된다.

 

위 처럼 code 명령어를 사용하면 해당 경로에서 vscode 를 실행 시킬수 있다.

 

 

사용 예시

 

$ git config --global core.editor "code" $ git config --global -e

전역 git 설정 vscode 에디터로 실행할수 있다.

반응형