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-1696754497696.jpeg src/assets/image/install-zsh-on-ubuntu-linux-1696754696387.jpeg, M src/content/blog/install-zsh-on-ubuntu-linux.md 2023-10-08 17:46:37

Affected files:
src/assets/image/install-zsh-on-ubuntu-linux-1696754497696.jpeg
src/assets/image/install-zsh-on-ubuntu-linux-1696754696387.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 ded91b2 commit 3f1a1ad
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
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.
20 changes: 19 additions & 1 deletion src/content/blog/install-zsh-on-ubuntu-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,30 @@ chsh -s $(which zsh)
- `1`
- `2`

중에 하나 입력하면 되는데, `2``~/.zshrc`를 알아서 설정해주는 것 같아서, `2`를 누르고 들어갔다.
중에 하나 입력하면 되는데, `2``~/.zshrc`를 알아서 추천 설정에 따라 설정해주는 것 같아서, `2`를 누르고 들어갔다.
![](/src/assets/image/install-zsh-on-ubuntu-linux-1696754339498.jpeg)

그러면 상기 이미지처럼 shell이 바뀌었을 것이다.
`echo $SHELL` 명령어를 통해 `zsh`로 바뀌었음을 확인도 가능하다.

## locale 설정

```zsh
vim ~/.zshrc
```

`.zshrc` 파일을 편집한다.
`export LC_MESSAGES=en_US.UTF-8``.zshrc` 마지막 line에 추가한다.
![](/src/assets/image/install-zsh-on-ubuntu-linux-1696754497696.jpeg)

```zsh
source ~/.zshrc
```

로 logout하지 않고, 현재 shell session에 설정을 바로 반영하자.
![](/src/assets/image/install-zsh-on-ubuntu-linux-1696754696387.jpeg)
`LC_MESSAGES``en_US.UTF-8`로 설정된 것을 볼 수 있고, `LC_MESSAGES`도 알파벳으로 잘 나온다.

## 참고 문서

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

0 comments on commit 3f1a1ad

Please sign in to comment.