File tree Expand file tree Collapse file tree 3 files changed +2065
-5
lines changed Expand file tree Collapse file tree 3 files changed +2065
-5
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,30 @@ brew install --cask iterm2
8080
8181- 使用 Starship 美化终端提示符(` .zshrc ` 添加)
8282
83- ```
84- bash
83+ 主题使用
84+ https://juejin.cn/post/7293342627814244367?searchId=20250818202221EB3DC46982643A3386E9
85+ https://juejin.cn/post/7293342627814244367?searchId=20250826140803C7B559BEC4FC8596A209
8586
87+ ```
88+ bash
8689
87- 复制编辑
88- eval "$(starship init zsh)"
89- ```
90+
91+ 复制编辑
92+ eval "$(starship init zsh)"
93+ ```
94+
95+ ``` bash
96+ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:- ~/ .oh-my-zsh/ custom} /plugins/zsh-autosuggestions
97+
98+ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:- ~/ .oh-my-zsh/ custom} /plugins/zsh-syntax-highlighting
99+
100+ nano ~ /.zshrc
101+
102+ plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
103+
104+ source ~ /.zshrc
105+
106+ ```
90107
91108---
92109
132149
133150复制编辑
134151brew install nvm
152+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
153+ source ~/.zshrc # 或 ~/.bash_profile,取决于你用的 shell
135154mkdir ~/.nvm
136155```
137156
You can’t perform that action at this time.
0 commit comments