Skip to content

Instantly share code, notes, and snippets.

@Hansanghyeon
Last active March 4, 2023 02:52
Show Gist options
  • Save Hansanghyeon/655d504130d7d139bf3bcea7062a3dca to your computer and use it in GitHub Desktop.
Save Hansanghyeon/655d504130d7d139bf3bcea7062a3dca to your computer and use it in GitHub Desktop.
ubuntu 처음 설치했을때 개인 설정 모두 셋팅하기
bash <(curl -s )

사전 필요한 작업

Update packages and install necessary programs

apt-get update && apt upgrade -y
apt-get install -y git zsh curl
#!/bin/bash
# ================================================
# 이 스크립트는 권한이 없는 ubuntu LXC를 타겟으로 만들었습니다.
# ================================================
# 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)
# Install startship
curl -sS https://starship.rs/install.sh | sh
# 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