Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
kinoxyz1 committed Nov 3, 2022
1 parent 784fbec commit 81ff580
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,6 @@
* [mac iterm2 安装 lrzsz](note/mac/install—lrzsz.md)
* [mac iterm2 批量删除主题](note/mac/delete主题.md)
* [mac 自动登录服务器](note/mac/自动登录服务器.md)
* [mac oh-my-zsh](note/mac/ohmyzsh.md))
* [mac oh-my-zsh](note/mac/ohmyzsh.md)
</details>

13 changes: 11 additions & 2 deletions note/mac/ohmyzsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,14 @@ vim ~/.zshrc
找到 `ZSH_THEME` 字段,可以看到 oh-my-zsh 的默认主题是 robbyrussell ,如果要做修改,具体操作如下:
要在 Vim 里修改文件,要先按 `i` 进入编辑模式,把 `ZSH_THEME`的值修改为你喜欢的那个主题,修改完成之后按 `esc` (电脑最左上)退出编辑模式,最后 `shift+zz` 保存并退出。
```bash
vim ~/.zshrc
# ZSH_THEME="robbyrussell"
ZSH_THEME="intheloop"
当然,你不太熟悉上面的操作,可以直接打开 `.zshrc` 的文件,然后用普通的编辑器直接修改那个 `ZSH_THEME` 的值,最后保存就好。
# :eq 保存退出
source ~/.zshrc
```
上面介绍的都是 oh-my-zsh默认自带了一些默认主题,存放在 `~/.oh-my-zsh/themes` 目录中。
Expand Down Expand Up @@ -281,6 +286,10 @@ plugins=(zsh-autosuggestions git)
- [思迅token 漏掉了一个feign的接口地址URL] @zhangtao in [873262eb](https://bdgit.9zdata.cn/ninestone/ninestone-tms-parent/-/commit/873262eb)
# 六、zsh 常用快捷键
- CTRL + A
Expand Down

0 comments on commit 81ff580

Please sign in to comment.