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 |