aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-11-11 09:02:38 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-11-11 09:02:38 +0300
commit8840fe550e2b61d684e0ca594d2ef33fc9152d46 (patch)
tree6372dddaf7a49f8a961a09f543363da296354c38 /README.md
parent271836403d61b92019b877f37d094c4d235b818d (diff)
correct install-without-internet instructions w.r.t. ZSH_THEME
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index f9d17cb4..c58a4a87 100644
--- a/README.md
+++ b/README.md
@@ -694,10 +694,14 @@ The command to update Powerlevel10k depends on how it was installed.
```
3. Copy `~/powerlevel10k` from the machine connected to the Internet to the one without Internet
access.
-4. Append the following lines to the bottom of `~/.zshrc` on the machine without Internet access:
+4. Add `source ~/powerlevel10k/powerlevel10k.zsh-theme` to `~/.zshrc` on the machine without
+ Internet access:
```zsh
- source ~/powerlevel10k/powerlevel10k.zsh-theme
- unset ZSH_THEME
+ echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
+ ```
+5. If `~/.zshrc` on the machine without Internet access sets `ZSH_THEME`, remove that line.
+ ```zsh
+ sed -i.bak '/^ZSH_THEME=/d' ~/.zshrc
```
To update, remove `~/powerlevel10k` on both machines and repeat steps 1-3.