Make instructions easier to migrate from oh-my-zsh

This commit is contained in:
Hélio 2021-02-01 06:23:36 -03:00 committed by GitHub
parent b816abfed0
commit 7b3b35844f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -376,7 +376,11 @@ Users in mainland China can use the official mirror on gitee.com for faster down
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:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
``` ```
Set `ZSH_THEME="powerlevel10k/powerlevel10k"` in `~/.zshrc`. Set `ZSH_THEME="powerlevel10k/powerlevel10k"` in `~/.zshrc` by running the following command:
```zsh
sed -i 's/ZSH_THEME=.*/ZSH_THEME="powerlevel10k\/powerlevel10k"/g' ~/.zshrc
```
### Prezto ### Prezto