새소식

System Management

Ubuntu 리눅스 zsh 설치 및 테마 변경

  • -

Ubuntu 에서 ZSH 설치 및 Oh My ZSH 설치를 위하여 다음과 같은 순서로 명령어 실행

1). root 초기 비밀번호 설정

명령어 예제

sudo passwd


2). apt-get 업데이트 진행

명령어 예제

sudo apt-get update


3). apt-get 을 이용한 git 설치

명령어 예제

sudo apt-get install git


4). apt-get 을 이용한 zsh 설치

명령어 예제

sudo apt-get install zsh
zsh --version


5). Ubuntu 기본 shell 을 bash 에서 zsh 변경

명령어 예제

chsh -s 'which zsh'
echo $SHELL


6). oh my zsh 설치

명령어 예제

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh


7). oh my zsh 설치

명령어 예제

sudo apt-get install curl
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh


8). oh my zsh 테마 다운로드

명령어 예제

cd ~/.oh-my-zsh/themes/
wget http://raw.github.com/zakaziko99/agnosterzak-ohmyzsh-theme/master/agnosterzak.zsh-theme


9). oh my zsh 테마 설정

명령어 예제

vi ~/.zshrc
ZSH_THEME="agnosterzak"
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.