Last active
August 27, 2023 16:03
-
-
Save rlaace423/fa09c3238d1d8070a046c5794846fcf6 to your computer and use it in GitHub Desktop.
install zsh & nvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install defaults | |
brew install zsh | |
# install oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# zsh-autosuggestions | |
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
# zsh-syntax-highlighting (명령어 색상 하이라이팅) | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
# edit .zshrc | |
plugins=(git zsh-autosuggestions zsh-syntax-highlighting) | |
... | |
ZSH_THEME="gnzh" | |
... | |
alias ll='ls -lAh' | |
alias la='ls -lh' | |
# make nvm work with zsh | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 설정하지 않았다면 root 패스워드 설정 | |
sudo passwd | |
# 최신 git 설치 | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install git | |
git config --global user.name "Sangho Kim (Sam)" | |
git config --global user.email "rlaace423@gmail.com" | |
git config --list | |
# zsh 설치 | |
sudo apt install zsh | |
# oh-my-zsh 설치 | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# zsh-autosuggestions 설치 (자주 사용한 명령어 자동완성) | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
# zsh-syntax-highlighting (명령어 색상 하이라이팅) | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
# edit .zshrc | |
plugins=(git zsh-autosuggestions zsh-syntax-highlighting) | |
... | |
ZSH_THEME="gnzh" | |
... | |
alias ll='ls -lAh' | |
alias la='ls -lh' | |
# install nvm | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment