Skip to content

Commit

Permalink
obsidian(gyunseo laptop): D src/assets/image/install-zsh-on-ubuntu-li…
Browse files Browse the repository at this point in the history
…nux-1696753845698.jpeg, A src/assets/image/install-zsh-on-ubuntu-linux-1696754262377.jpeg src/assets/image/install-zsh-on-ubuntu-linux-1696754339498.jpeg src/content/blog/install-ohmyzsh-on-zsh.md, M src/assets/template/obsidian-template.md src/content/blog/install-zsh-on-ubuntu-linux.md 2023-10-08 17:39:22

Affected files:
src/assets/image/install-zsh-on-ubuntu-linux-1696753845698.jpeg
src/assets/image/install-zsh-on-ubuntu-linux-1696754262377.jpeg
src/assets/image/install-zsh-on-ubuntu-linux-1696754339498.jpeg
src/assets/template/obsidian-template.md
src/content/blog/install-ohmyzsh-on-zsh.md
src/content/blog/install-zsh-on-ubuntu-linux.md
  • Loading branch information
Gyunseo Lee authored and Gyunseo Lee committed Oct 8, 2023
1 parent eceaa2d commit ded91b2
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 3 deletions.
Binary file not shown.
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.
3 changes: 1 addition & 2 deletions src/assets/template/obsidian-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
18 changes: 18 additions & 0 deletions src/content/blog/install-ohmyzsh-on-zsh.md
Original file line number Diff line number Diff line change
@@ -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을 꾸며보자.
12 changes: 11 additions & 1 deletion src/content/blog/install-zsh-on-ubuntu-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`로 바뀌었음을 확인도 가능하다.

Expand Down

0 comments on commit ded91b2

Please sign in to comment.