mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
use portable sed syntax
This commit is contained in:
parent
dca8774f1b
commit
2f4c3c4cec
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ Powerlevel10k does not affect:
|
||||||
# Add powerlevel10k to the list of Oh My Zsh themes.
|
# Add powerlevel10k to the list of Oh My Zsh themes.
|
||||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
|
||||||
# Replace ZSH_THEME="powerlevel9k/powerlevel9k" with ZSH_THEME="powerlevel10k/powerlevel10k".
|
# Replace ZSH_THEME="powerlevel9k/powerlevel9k" with ZSH_THEME="powerlevel10k/powerlevel10k".
|
||||||
sed 's/powerlevel9k/powerlevel10k/g' -i ~/.zshrc
|
sed -i.bak 's/powerlevel9k/powerlevel10k/g' ~/.zshrc
|
||||||
# Restart Zsh.
|
# Restart Zsh.
|
||||||
exec zsh
|
exec zsh
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue