1. zsh 설치
apt-get install zsh
zsh 버전 확인
zsh --version
2. oh-my-zsh 설치
curl이나 wget을 이용해서 설치할 수 있다.
# curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
"curl: command not found" 오류가 떴다면 curl이 설치가 안된 상태이므로 아래 코드를 실행해준다.
apt-get install curl
다음과 같은 질문이 나오면 Y을 입력한다.
터미널을 끈다.
3. Default Shell 설정
지금까지 한 것만으로 default shell이 zsh가 안되서 추가 조치를 취했다.
- Ctrl + Shift + p
Terminal: Select Defalut Profile에 입력해서 클릭 후, zsh을 클릭해준다.
(zsh (2)은 왜 있는지 모르겠다...)
References
https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH
Installing ZSH
🙃 A delightful community-driven (with 2,200+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, pyth...
github.com
Ubuntu에 Oh My Zsh 설치
# zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting # zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~
log4cat.tistory.com
https://stackoverflow.com/questions/64001669/zsh-and-vscode-default-shells
ZSH And VSCode - Default Shells
I've started setting up ZSH for VSCode. It worked for a small bit, but then it changed to Git Bash (my previous default shell). I tried changing the shell back to ZSH, but it didn't display in the ...
stackoverflow.com
'프로젝트 setup' 카테고리의 다른 글
Tips (0) | 2024.06.15 |
---|---|
[Hugging Face 🤗] Load Datasets (0) | 2024.06.15 |
requirement.txt 설치 (2) | 2024.01.03 |