chore: fix oh-my-zsh git clone taget path for arbitrary $ZSH
This commit is contained in:
parent
cb9788b12a
commit
c349dbcf70
|
@ -441,13 +441,13 @@ make sure to disable the current theme in your plugin manager. See
|
||||||
|
|
||||||
1. Clone the repository:
|
1. Clone the repository:
|
||||||
```zsh
|
```zsh
|
||||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
|
||||||
```
|
```
|
||||||
Users in China can use the official mirror on gitee.com for faster download.<br>
|
Users in China can use the official mirror on gitee.com for faster download.<br>
|
||||||
中国用户可以使用 gitee.com 上的官方镜像加速下载.
|
中国用户可以使用 gitee.com 上的官方镜像加速下载.
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
git clone --depth=1 https://gitee.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
git clone --depth=1 https://gitee.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
|
||||||
```
|
```
|
||||||
2. Set `ZSH_THEME="powerlevel10k/powerlevel10k"` in `~/.zshrc`.
|
2. Set `ZSH_THEME="powerlevel10k/powerlevel10k"` in `~/.zshrc`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue