mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
Better installation instructions.
This commit is contained in:
parent
2d69716229
commit
762f7a7aa5
1 changed files with 5 additions and 9 deletions
14
README.md
14
README.md
|
@ -41,19 +41,15 @@ here](https://powerline.readthedocs.org/en/latest/installation/linux.html#fonts-
|
||||||
You can also find the raw font files [in this Github
|
You can also find the raw font files [in this Github
|
||||||
repository](https://github.com/powerline/fonts).
|
repository](https://github.com/powerline/fonts).
|
||||||
|
|
||||||
To install this theme, drop the `.zsh-theme` file into your `.oh-my-zsh/themes`
|
To install this theme, drop the `.zsh-theme` file into your `.oh-my-zsh/custom/themes`
|
||||||
directory. A better form of installation is to clone this repository and then
|
directory:
|
||||||
create a symlink in your 'themes' directory:
|
|
||||||
|
|
||||||
$ git clone https://github.com/bhilburn/powerlevel9k.git powerlevel9k.git
|
$ cd ~/.oh-my-zsh/custom/themes
|
||||||
$ ln -s powerlevel9k.git/powerlevel9k.zsh-theme ~/.oh-my-zsh/themes/powerlevel9k.zsh-theme
|
$ git clone https://github.com/bhilburn/powerlevel9k.git powerlevel9k
|
||||||
|
|
||||||
Note that *you cannot clone this repository into your `~/.oh-my-zsh/themes/` directory*.
|
|
||||||
Oh-My-Zsh does not traverse subdirectories for themes, and will not find your theme.
|
|
||||||
|
|
||||||
You then need to select it in your `~/.zshrc`:
|
You then need to select it in your `~/.zshrc`:
|
||||||
|
|
||||||
ZSH_THEME="powerlevel9k"
|
ZSH_THEME="powerlevel9k/powerlevel9k"
|
||||||
|
|
||||||
If you do not want to display the `user@host` string, you should also put this
|
If you do not want to display the `user@host` string, you should also put this
|
||||||
in your `~/.zshrc`:
|
in your `~/.zshrc`:
|
||||||
|
|
Loading…
Reference in a new issue