Created
March 4, 2023 02:44
-
-
Save Hansanghyeon/f10c6ac1bfaa5f1a7ea732fd2c301a4e to your computer and use it in GitHub Desktop.
ubuntu 처음 설치했을때 개인 설정 모두 셋팅하기
This file contains hidden or 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
#!/bin/bash | |
# Update packages and install necessary programs | |
sudo apt-get update | |
sudo apt-get install -y git zsh curl | |
# Install oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Install zsh-syntax-highlighting plugin | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting | |
# Install zsh-autosuggestions plugin | |
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions | |
# Set default shell to zsh | |
chsh -s $(which zsh) | |
# Copy custom zsh configuration file | |
# cp my_zshrc_file ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment