added ssh support and POWERLEVEL9K_HIDE_HOST feature

refactorized the sourcecode

added true/false switch
This commit is contained in:
Christian Rebischke
2016-12-18 21:08:43 +01:00
parent 202ab15007
commit 30076080a7
2 changed files with 22 additions and 5 deletions
+5
View File
@@ -241,6 +241,11 @@ elements (it is by default), and define a `DEFAULT_USER` in your `~/.zshrc`:
|----------|---------------|-------------|
|`DEFAULT_USER`|None|Username to consider a "default context" (you can also use `$USER`)|
You can use POWERLEVEL9K_HIDE_HOST for hiding the hostname in the prompt
when you are not in a ssh session. For example:
POWERLEVEL9K_HIDE_HOST="yes"
##### dir
The `dir` segment shows the current working directory. When using the "Awesome