Skip to content

Commit

Permalink
obsidian(gyunseo laptop): A src/assets/image/install-zsh-on-ubuntu-li…
Browse files Browse the repository at this point in the history
…nux-1696753635034.jpeg src/assets/image/install-zsh-on-ubuntu-linux-1696753757536.jpeg src/assets/image/install-zsh-on-ubuntu-linux-1696753845698.jpeg, M src/content/blog/install-zsh-on-ubuntu-linux.md 2023-10-08 17:31:36

Affected files:
src/assets/image/install-zsh-on-ubuntu-linux-1696753635034.jpeg
src/assets/image/install-zsh-on-ubuntu-linux-1696753757536.jpeg
src/assets/image/install-zsh-on-ubuntu-linux-1696753845698.jpeg
src/content/blog/install-zsh-on-ubuntu-linux.md
  • Loading branch information
Gyunseo Lee authored and Gyunseo Lee committed Oct 8, 2023
1 parent a7473fd commit eceaa2d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions src/content/blog/install-zsh-on-ubuntu-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,29 @@ description: bash은 못 생겼다.

## Install zsh

```bash
sudo apt install -y zsh
```

설치 이후, `zsh --version` 명령어로 제대로 설치됐는지 확인하자.

![](/src/assets/image/install-zsh-on-ubuntu-linux-1696753635034.jpeg)

## Set up zsh as default

```bash
chsh -s $(which zsh)
```

상기 명령어로 default shell을 `zsh`로 변경하자.

![](/src/assets/image/install-zsh-on-ubuntu-linux-1696753757536.jpeg)
`ctrl + d`로 logout 한 이후, 다시 shell에 접속하자.

![](/src/assets/image/install-zsh-on-ubuntu-linux-1696753845698.jpeg)
그러면 상기 이미지처럼 shell이 바뀌었을 것이다.
`echo $SHELL` 명령어를 통해 `zsh`로 바뀌었음을 확인도 가능하다.

## 참고 문서

<https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH>

0 comments on commit eceaa2d

Please sign in to comment.