diff options
author | Dominik Ritter <dominik.ritter@pixelhouse.de> | 2015-03-22 23:00:17 +0300 |
---|---|---|
committer | Dominik Ritter <dominik.ritter@pixelhouse.de> | 2015-03-22 23:00:17 +0300 |
commit | 3b6402d9b14aad902ae791a7990d0cb8700da385 (patch) | |
tree | ffa8e025e6a9eddc5d412c9cfdc1dfe647240c25 /README.md | |
parent | 59ef2a610664c2891f7a9a81751d4e195d3337ab (diff) | |
parent | 4a9886c25b338fcb7db511c0d2698a73516e69ca (diff) |
Merge branch 'master' into dritter/mercurial_support
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -41,25 +41,30 @@ here](https://powerline.readthedocs.org/en/latest/installation/linux.html#fonts- You can also find the raw font files [in this Github repository](https://github.com/powerline/fonts). -To install this theme, drop the `.zsh-theme` file into your `.oh-my-zsh/themes` -directory. A better form of installation is to clone this repository and then -create a symlink in your 'themes' directory: +To install this theme, drop the `.zsh-theme` file into your `.oh-my-zsh/custom/themes` +directory: - $ git clone https://github.com/bhilburn/powerlevel9k.git powerlevel9k.git - $ ln -s powerlevel9k.git/powerlevel9k.zsh-theme ~/.oh-my-zsh/themes/powerlevel9k.zsh-theme - -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. + $ cd ~/.oh-my-zsh/custom/themes + $ git clone https://github.com/bhilburn/powerlevel9k.git powerlevel9k 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 in your `~/.zshrc`: export DEFAULT_USER=<your username> +### Customization + +You can choose which segments are shown on each side. Just add the following variables to +your `~/.zshrc`. The below also shows the default settings if you don't define +your own. + + POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir git) + POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status history time) + ### Bugs / Contact If you have any requests or bug reports, please use the tracker in this Github |