diff --git a/src/assets/image/install-zsh-on-ubuntu-linux-1696753845698.jpeg b/src/assets/image/install-zsh-on-ubuntu-linux-1696753845698.jpeg deleted file mode 100644 index 68b3e6ac8..000000000 Binary files a/src/assets/image/install-zsh-on-ubuntu-linux-1696753845698.jpeg and /dev/null differ diff --git a/src/assets/image/install-zsh-on-ubuntu-linux-1696754262377.jpeg b/src/assets/image/install-zsh-on-ubuntu-linux-1696754262377.jpeg new file mode 100644 index 000000000..b73f08508 Binary files /dev/null and b/src/assets/image/install-zsh-on-ubuntu-linux-1696754262377.jpeg differ diff --git a/src/assets/image/install-zsh-on-ubuntu-linux-1696754339498.jpeg b/src/assets/image/install-zsh-on-ubuntu-linux-1696754339498.jpeg new file mode 100644 index 000000000..85da0905a Binary files /dev/null and b/src/assets/image/install-zsh-on-ubuntu-linux-1696754339498.jpeg differ diff --git a/src/assets/template/obsidian-template.md b/src/assets/template/obsidian-template.md index 80a1493b9..44026f32e 100644 --- a/src/assets/template/obsidian-template.md +++ b/src/assets/template/obsidian-template.md @@ -3,8 +3,7 @@ title: Hello, World! pubDatetime: {{date}}T{{time}}:00Z featured: false draft: false -tags: - - test +tags: test ogImage: "" description: this is template --- diff --git a/src/content/blog/install-ohmyzsh-on-zsh.md b/src/content/blog/install-ohmyzsh-on-zsh.md new file mode 100644 index 000000000..7f2adca4f --- /dev/null +++ b/src/content/blog/install-ohmyzsh-on-zsh.md @@ -0,0 +1,18 @@ +--- +title: zsh에 ohmyzsh을 설치하자. +pubDatetime: 2023-10-08T17:34:00Z +featured: false +draft: false +tags: + - test +ogImage: "" +description: 기본 zsh은 너무 앙상하다. +--- + +## Table of contents + +## 들어가며 + +[Ubuntu Linux에 zsh을 설치하고, default shell을 zsh로 바꾸자.](install-zsh-on-ubuntu-linux.md)에서 Ubuntu Linux의 default shell을 bash에서 zsh로 변경했다. +변경을 했지만은, 아무런 theme가 적용되지 않은 zsh은 너무 못생겼다. +그래서 `ohmyzsh`을 설치하여, shell을 꾸며보자. diff --git a/src/content/blog/install-zsh-on-ubuntu-linux.md b/src/content/blog/install-zsh-on-ubuntu-linux.md index f47e2108b..d4ebd067c 100644 --- a/src/content/blog/install-zsh-on-ubuntu-linux.md +++ b/src/content/blog/install-zsh-on-ubuntu-linux.md @@ -39,7 +39,17 @@ chsh -s $(which 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) +![](/src/assets/image/install-zsh-on-ubuntu-linux-1696754262377.jpeg) +그러면 상기 이미지와 같이 zsh 설정 function이 나온다. + +- `q` +- `0` +- `1` +- `2` + +중에 하나 입력하면 되는데, `2`가 `~/.zshrc`를 알아서 설정해주는 것 같아서, `2`를 누르고 들어갔다. +![](/src/assets/image/install-zsh-on-ubuntu-linux-1696754339498.jpeg) + 그러면 상기 이미지처럼 shell이 바뀌었을 것이다. `echo $SHELL` 명령어를 통해 `zsh`로 바뀌었음을 확인도 가능하다.