Commit Graph

2342 Commits (7b081b13b4aa8b4608d6463926499b307c028220)
 

Author SHA1 Message Date
Christian Höltje aca0f31eb0 Replaced a sed call with pure ZSH
Christian Höltje 0fded47ab5 Added test for POWERLEVEL9K_HOME_FOLDER_ABBREVIATION
Dominik Ritter a234636982 Fix empty delimiter
Even if the delimiter is empty, the min length should be 1.
This fixes 
Christian Höltje df318488c9 test-in-docker: quickly test frameworks in docker
This adds `./test-in-docker` for quickly playing with various frameworks.

All the containers are based off Ubuntu 14.04 which has ZSH 5.0.2.

Thanks to @dritter for figuring out all the framework installation
methods.
Christian Höltje 3bf0f18e26 Cleaned up installation directory detection
- Used ZSH built-in magic to get the installation directory.
- Works with symlinks.
- No longer calls out to external program 'dirname'.
- Fixed issue with spaces in the path.
- No longer leak the variables 'filename' and 'script_location'.
Ben Hilburn 6735c24e62 Merge pull request from D-side/patch-1
Fixed RVM segment for usernames with dashes
Ben Hilburn 92ff579d5b Merge pull request from derekbassett/Prompt_Hang_Kubecontext_Minikube
Fixed prompt hangs on kubectl version command
Derek Bassett 3dddcf519d Resolves issue where prompt hangs on kubectl version.
Pavel Peganov 65c770606b Fixed RVM segment for usernames with dashes
Having a username with a dash, such as mine, `d-side`, currently results in RVM segment displaying the wrong thing, e. g. `side/.rvm/rubies/ruby`. This fixes the issue.
David Sabatie 9a3d2e4ca1 vpn prompt: change "ip" to "ifconfig" to be used on OSX
Ben Hilburn 3c3a86a42f Fixes for README and CHANGELOG re: `vpn` segment.
Ben Hilburn 70e0b20772 Updating CHANGELOG with new `vpn` segment
Ben Hilburn b81d2cb2f2 Merge pull request from golgoth31/next
add vpn ip to prompt
Ben Hilburn e09d4ae926 Merge branch 'next' into next
Ben Hilburn d6a14a9a01 Updating README and CHANGELOG
David Sabatie 5eec2e28d0 add vpn ip to prompt
Jordan Taylor ef0b5ce50f add kubecontext test spec file to travis build
Ben Hilburn 4be16020b7 Merge pull request from zikes/go_icon
Add Gopher icon to go_version segment
Jason Hutchinson d2ecb38d60 add tests
Jason Hutchinson 6f0c809a7d empty namespace value is 'default'
Jason Hutchinson 932e4edeaf fix variable name typo
Jason Hutchinson c11c3a55de use p9k print_icon for kubecontext segment
Jordan Taylor d8d6c752fd added the current context prompt for your kubectl config
Jason Hutchinson f81ecc11f6 set GO_ICON manually in test
Jason Hutchinson a6887eb165 update test
Jason Hutchinson 99c9ba9367 add Gopher icon to go_version segment
Ben Hilburn 92264124a9 Merge branch 'master' into next
Ben Hilburn 19fc709a16 Moving some parts of README to the Wiki.
Ben Hilburn d9014c67a3 Merge branch 'host_user' of https://github.com/onaforeignshore/powerlevel9k into onaforeignshore-host_user
Christo Kotze de6a9388e9 updated to fix copy/paste
Christo Kotze cf806f097b updated render check logic
Ben Hilburn b63bf00113 Merge pull request from zikes/patch-1
Only show go_version segment if inside GOPATH
Ben Hilburn 44764285c3 Merge branch 'host_user' of https://github.com/onaforeignshore/powerlevel9k into onaforeignshore-host_user
Ben Hilburn 643e8372db Merge branch 'next' of github.com:bhilburn/powerlevel9k into next
Ben Hilburn 5beb77bdf4 Merge branch 'master' into next
Ben Hilburn 58d5027dba Merge branch 'moxon6-master'
Ben Hilburn 65f5f7a90f Merge pull request from shibumi/next
swapped colors for virtualization detection
Ben Hilburn 6f7e88474d Merge pull request from docwhat/pr/nvm-current
nvm: improve default detection
Ben Hilburn 325e01b9f2 Updating the README to add a note about `teardown` feature.
Ben Hilburn a7409272ac Fixing typo in to teardown `RPROMPT`
Ben Hilburn c04c51bc8b Merge branch 'pr/teardown' of https://github.com/docwhat/powerlevel9k into docwhat-pr/teardown
Ben Hilburn e844fc4c72 Incorporating @dritter's feedback from .
Ben Hilburn 6486e62f14 Merge branch 'pr/newline' of https://github.com/docwhat/powerlevel9k into docwhat-pr/newline
Ben Hilburn ff0766ec5e Merge pull request from docwhat/pr/pipe-status
status: add option for support pipes
Christian Rebischke e0a6246ecc
swapped colors for virtualization detection, black on yellow was pain for the eyes
Martin Moxon 1cc8c49137 Make Anaconda environment status match Virtualenv format
Christian Höltje 382c821539 teardown: reset PROMPT and RPROMPT
Christian Höltje feb942d453 add function to disable powerlevel9k
Sometimes you have to disable your prompt. :-(
Christian Höltje 38d5f4d056 nvm: improve default detection
This is also (marginally) faster than before.
Christian Höltje e9e3e9dc53 newline: support PROMPT_ON_NEWLINE
The newline segment will now show ├─ when using
`POWERLEVEL9K_PROMPT_ON_NEWLINE`

Note: This can be overridden via `POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX`