1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-24 05:00:07 +00:00
Commit graph

1540 commits

Author SHA1 Message Date
Dominik Ritter
a234636982 Fix empty delimiter
Even if the delimiter is empty, the min length should be 1.
This fixes #558
2017-07-12 03:29:31 +02:00
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.
2017-07-11 20:41:46 -04:00
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'.
2017-07-11 20:29:01 -04:00
Ben Hilburn
6735c24e62 Merge pull request #547 from D-side/patch-1
Fixed RVM segment for usernames with dashes
2017-07-11 19:39:54 -04:00
Ben Hilburn
92ff579d5b Merge pull request #554 from derekbassett/Prompt_Hang_Kubecontext_Minikube
Fixed prompt hangs on kubectl version command
2017-07-11 19:13:21 -04:00
Derek Bassett
3dddcf519d Resolves issue #553 where prompt hangs on kubectl version. 2017-06-26 13:51:41 -06:00
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.
2017-06-11 04:09:00 +03:00
David Sabatie
9a3d2e4ca1 vpn prompt: change "ip" to "ifconfig" to be used on OSX 2017-06-03 20:11:24 +02:00
Ben Hilburn
3c3a86a42f Fixes for README and CHANGELOG re: vpn segment. 2017-06-02 12:15:38 -04:00
Ben Hilburn
70e0b20772 Updating CHANGELOG with new vpn segment 2017-06-02 12:14:07 -04:00
Ben Hilburn
b81d2cb2f2 Merge pull request #539 from golgoth31/next
add vpn ip to prompt
2017-06-02 12:13:03 -04:00
Ben Hilburn
e09d4ae926 Merge branch 'next' into next 2017-06-02 12:09:35 -04:00
Ben Hilburn
d6a14a9a01 Updating README and CHANGELOG 2017-06-02 11:59:30 -04:00
David Sabatie
5eec2e28d0 add vpn ip to prompt 2017-05-31 17:32:42 +02:00
Jordan Taylor
ef0b5ce50f add kubecontext test spec file to travis build 2017-05-28 12:57:30 -04:00
Ben Hilburn
4be16020b7 Merge pull request #535 from zikes/go_icon
Add Gopher icon to go_version segment
2017-05-27 21:22:20 -04:00
Jason Hutchinson
d2ecb38d60 add tests 2017-05-26 14:02:18 -05:00
Jason Hutchinson
6f0c809a7d empty namespace value is 'default' 2017-05-26 13:35:29 -05:00
Jason Hutchinson
932e4edeaf fix variable name typo 2017-05-26 13:29:06 -05:00
Jason Hutchinson
c11c3a55de use p9k print_icon for kubecontext segment 2017-05-26 13:27:17 -05:00
Jordan Taylor
d8d6c752fd added the current context prompt for your kubectl config 2017-05-26 09:02:14 -04:00
Jason Hutchinson
f81ecc11f6 set GO_ICON manually in test 2017-05-25 17:19:56 -05:00
Jason Hutchinson
a6887eb165 update test 2017-05-25 16:59:54 -05:00
Jason Hutchinson
99c9ba9367 add Gopher icon to go_version segment 2017-05-25 16:38:14 -05:00
Ben Hilburn
92264124a9 Merge branch 'master' into next 2017-05-25 16:01:08 -04:00
Ben Hilburn
19fc709a16 Moving some parts of README to the Wiki. 2017-05-25 16:00:44 -04:00
Ben Hilburn
d9014c67a3 Merge branch 'host_user' of https://github.com/onaforeignshore/powerlevel9k into onaforeignshore-host_user 2017-05-25 15:47:51 -04:00
Christo Kotze
de6a9388e9 updated to fix copy/paste 2017-05-23 19:16:46 +04:00
Christo Kotze
cf806f097b updated render check logic 2017-05-23 19:14:52 +04:00
Ben Hilburn
b63bf00113 Merge pull request #473 from zikes/patch-1
Only show go_version segment if inside GOPATH
2017-05-22 21:55:49 -04:00
Ben Hilburn
44764285c3 Merge branch 'host_user' of https://github.com/onaforeignshore/powerlevel9k into onaforeignshore-host_user 2017-05-22 21:46:17 -04:00
Ben Hilburn
643e8372db Merge branch 'next' of github.com:bhilburn/powerlevel9k into next 2017-05-22 21:45:17 -04:00
Ben Hilburn
5beb77bdf4 Merge branch 'master' into next 2017-05-22 21:39:44 -04:00
Ben Hilburn
58d5027dba Merge branch 'moxon6-master' 2017-05-22 21:39:31 -04:00
Ben Hilburn
65f5f7a90f Merge pull request #531 from shibumi/next
swapped colors for virtualization detection
2017-05-22 21:34:42 -04:00
Ben Hilburn
6f7e88474d Merge pull request #526 from docwhat/pr/nvm-current
nvm: improve default detection
2017-05-22 21:32:41 -04:00
Ben Hilburn
325e01b9f2 Updating the README to add a note about teardown feature. 2017-05-22 21:23:52 -04:00
Ben Hilburn
a7409272ac Fixing typo in #525 to teardown RPROMPT 2017-05-22 21:20:56 -04:00
Ben Hilburn
c04c51bc8b Merge branch 'pr/teardown' of https://github.com/docwhat/powerlevel9k into docwhat-pr/teardown 2017-05-22 21:17:10 -04:00
Ben Hilburn
e844fc4c72 Incorporating @dritter's feedback from #524. 2017-05-22 21:12:59 -04:00
Ben Hilburn
6486e62f14 Merge branch 'pr/newline' of https://github.com/docwhat/powerlevel9k into docwhat-pr/newline 2017-05-22 21:07:23 -04:00
Ben Hilburn
ff0766ec5e Merge pull request #515 from docwhat/pr/pipe-status
status: add option for support pipes
2017-05-22 21:04:24 -04:00
Christian Rebischke
e0a6246ecc
swapped colors for virtualization detection, black on yellow was pain for the eyes 2017-05-21 15:04:24 +02:00
Martin Moxon
1cc8c49137 Make Anaconda environment status match Virtualenv format 2017-05-17 20:49:27 +01:00
Christian Höltje
382c821539 teardown: reset PROMPT and RPROMPT 2017-05-12 22:15:26 -04:00
Christian Höltje
feb942d453 add function to disable powerlevel9k
Sometimes you have to disable your prompt. :-(
2017-05-12 22:15:26 -04:00
Christian Höltje
38d5f4d056 nvm: improve default detection
This is also (marginally) faster than before.
2017-05-12 22:14:44 -04:00
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`
2017-05-12 22:14:01 -04:00
Christian Höltje
161c995625 newline: can't work with right side 2017-05-12 22:14:01 -04:00
Christian Höltje
1619c74ad8 newline: add new segment 2017-05-12 22:14:01 -04:00