Skip to content

Instantly share code, notes, and snippets.

@Hansanghyeon
Created March 4, 2023 02:44
Show Gist options
  • Save Hansanghyeon/f10c6ac1bfaa5f1a7ea732fd2c301a4e to your computer and use it in GitHub Desktop.
Save Hansanghyeon/f10c6ac1bfaa5f1a7ea732fd2c301a4e to your computer and use it in GitHub Desktop.
ubuntu 처음 설치했을때 개인 설정 모두 셋팅하기
#!/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