본문 바로가기
OS/Linux

[Linux] Ubuntu 20.04 zsh, oh-my-zsh 설치

by pcm9881 2022. 9. 28.

1. zsh 설치

 

- 설치확인

zsh --version

- 설치

sudo apt install zsh -y && chsh -s `which zsh`

- 설정 (enter치면 ~/.zshrc 파일 생성)

Your Hardware Enablement Stack (HWE) is supported until April 2023.
Last login: ################## from #######
This is the Z Shell configuration function for new users,
zsh-newuser-install.
You are seeing this message because you have no zsh startup files
(the files .zshenv, .zprofile, .zshrc, .zlogin in the directory
~). This function can help you with a few settings that should
make your use of the shell easier.

You can:

(q) Quit and do nothing. The function will be run again next time.

(0) Exit, creating the file ~/.zshrc containing just a comment.
      That will prevent this function being run again.

(1) Continue to the main menu.

(2) Populate your ~/.zshrc with the configuration recommended
      by the system administrator and exit (you will need to edit
      the file by hand, if so desired).

--- Type one of the keys in parentheses ---

 

2. oh-my-zsh 설치

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

참조

oh-my-zsh 홈페이지: https://ohmyz.sh/#install

728x90

댓글