1
0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-12 19:18:28 +02:00
Commit Graph

1496 Commits

Author SHA1 Message Date
Dominik Ritter
eadbd09368 Write comparisons with double equals 2018-08-07 21:35:29 +02:00
Dominik Ritter
9cf76f99a5 Fix bright colors
Remove old code that set bright colors equal to normal colors. This code
was ancient and led to bright colors being unusable. The code originates
from 0e37d8ef86.
2018-08-07 21:33:09 +02:00
Dominik Ritter
bf9082bea9 Fix bug so that the segment separator of left middle has the right color
In short: the current background color was the unfiltered color and is
used to print the next segment separator. If the user set a color like
"purple3" that would result in a white segment separator as Terminal
Emulators do not understand the color "purple3".
2018-08-07 21:25:06 +02:00
Dominik Ritter
ebbdb3c1c0 Make purpose clear of backgroundColor and foregroundColor functions
The functions just start the colors, they do not end them. It seems
too much to have a function that terminates a color.
2018-08-07 21:21:15 +02:00
Dominik Ritter
345cf87b8f Add missing colors to fix color comparison
Added magenta and cyan that were only present with their alternative
names (fuchsia and aqua). See https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme
2018-07-24 00:51:37 +02:00
Ben Hilburn
22a761208d
Merge pull request #900 from AlexaraWu/patch/pyenv
Fix `pyenv` segment
2018-07-16 11:01:00 -04:00
Alexara Wu
45fe401dc2
Improve conditions in rbenv & pyenv 2018-07-14 20:41:15 +08:00
Alexara Wu
9f09547ad1
Improve rbenv as well 2018-07-14 17:09:56 +08:00
Alexara Wu
25e2064f0e
Improve command check 2018-07-14 06:32:07 +08:00
Ben Hilburn
a7b3f310d3
Merge pull request #905 from robobenklein/robobenklein/defined-variable-performance-hotfix
[performance] Defined function 2-20 times speedup
2018-07-13 13:25:45 -04:00
Ben Hilburn
e1a420b5d2
Merge pull request #902 from dritter/fix_context_readme
Add new states to context segment in README
2018-07-13 13:15:41 -04:00
Ben Hilburn
e95be8f208
Update to context segment README
Just some minor spelling fixes.
2018-07-13 13:13:12 -04:00
Ben Hilburn
110a242ad4
Merge pull request #904 from dritter/fix_status
FIx status segment
2018-07-13 13:10:45 -04:00
Dominik Ritter
d502d05f08 Add tests for status segment 2018-07-13 00:41:35 +02:00
Ben Klein
45b0d68ec4
Replace typeset check with shellvar flag
More performance without changing functionality.
2018-07-12 15:37:33 -04:00
Dominik Ritter
8cd39beaad FIx status segment 2018-07-12 08:13:52 +02:00
Dominik Ritter
d1fc86e598 Add new states to context segment in README 2018-07-12 00:37:54 +02:00
Ben Klein
002f7b81a1
Replace [[-v with defined
For zsh 5.1 compatibility.
2018-07-11 16:54:12 -04:00
Alexara Wu
fc39d9d6b8
Fix pyenv segment 2018-07-11 20:55:27 +08:00
Dominik Ritter
d031b3e035 Fix kubernetes segment 2018-07-09 21:30:28 +02:00
Ben Hilburn
579887d294 Merge branch 'master' into next 2018-07-09 09:06:51 -04:00
Ben Hilburn
51a8c283e6
Merge pull request #891 from krmcbride/patch-1
kubecontext: fix context, namespace comparison
2018-07-07 11:22:15 -04:00
Ben Hilburn
375d63f1d9
Merge pull request #888 from blackb1rd/Fix_os_detection_for_MSYS2
Fix os detection for MSYS
2018-07-07 11:19:17 -04:00
Ben Hilburn
da1e017f14
Merge pull request #886 from dritter/github_templates
Add GitHub templates
2018-07-06 10:45:29 -04:00
Ben Hilburn
626efb2928
Update PR Template
Adding more detail to the PR template first created by @dritter!
2018-07-06 10:41:59 -04:00
Ben Hilburn
fcc48e17ee
Updating the Issue Template
Building on the issue template from @dritter.
2018-07-06 10:21:34 -04:00
Kevin McBride
534ec66466
kubecontext: fix context, namespace comparison 2018-07-02 13:33:23 -07:00
blackb1rd
592e765a95 Fix os detection for MSYS2 2018-06-30 22:20:02 +07:00
Ben Hilburn
1db098bd9f Updating CHANGELOG for v0.6.5 2018-06-29 15:41:39 -04:00
Dominik Ritter
c951a91579 Add link to troubleshooting guide in issue template 2018-06-28 23:57:04 +02:00
Dominik Ritter
cda6ee926c Add github templates for issue reports and new pull requests 2018-06-28 23:54:34 +02:00
Ben Hilburn
348617040b
Merge pull request #859 from dritter/staging_065
Merging the staging branch for 0.6.5!
2018-06-25 09:41:54 -04:00
Dominik Ritter
bda3171237 Fix java_version segment 2018-06-20 22:55:14 +02:00
Dominik Ritter
8c0df73d81 Fix tests 2018-06-20 21:44:12 +02:00
Dominik Ritter
08a3801c81 Merge remote-tracking branch 'softmoth/clean-right-margin' into staging_065 2018-06-20 21:23:38 +02:00
Dominik Ritter
595bdb4fa3 Use cog glyph on all modes 2018-06-17 22:57:13 +02:00
Dominik Ritter
d09a46f9e0 Mute errors when asking for java version 2018-06-17 22:47:43 +02:00
Tim Smith
3989834bfe Hide one-space indent at right margin
ZSH displays the right prompt indented one space from the right
margin. This can be tweaked with ZLE_RPROMPT_INDENT=0, but that
makes display problems very likely and I don't recommend it. But
all is not lost.

The %E prompt format does continue the current background color
through that last indent space. So it can *look* like our prompt
goes right up to the margin, if:
1) We remove the trailing space from the last segment, and
2) We add %E before clearing the background color
2018-06-15 00:42:48 -06:00
Dominik Ritter
b7681a00ca Fix variable in README
- Fix the variable name for the VCS shorten strategy.
- Add a heading for VCS truncation.
2018-06-11 21:59:33 +02:00
Dominik Ritter
51b53cd4b5
Fix rbenv segment after merge 2018-06-09 14:37:56 +02:00
Dominik Ritter
dc21b97335 Fix travis build 2018-06-07 02:36:30 +02:00
Dominik Ritter
0257159e1e Add tests for laravel version segment to travis 2018-06-07 01:54:32 +02:00
Dominik Ritter
a2d8cccd09 Add a Laravel version segment 2018-06-07 01:54:32 +02:00
Dominik Ritter
d9d9fb9b6b Merge remote-tracking branch 'ytang/fix-icons-cut-off' into staging_065
Conflicts were:
- test/segments/command_execution_time.spec and
test/segments/go_version.spec: All conflicts come from renaming color
names on next (#703) and adding a whitespace to the Visual Identifier
(#854) on master.
2018-06-07 01:51:16 +02:00
Dominik Ritter
5eedb2586b Merge remote-tracking branch 'Maxattax97/next' into staging_065 2018-06-07 01:31:16 +02:00
Dominik Ritter
40219759bb Merge branch 'fix_rprompt_newline' into staging_065 2018-06-07 01:29:04 +02:00
Dominik Ritter
47e2aed4b2 Merge remote-tracking branch 'sambadevi/feature/etc-option-in-dir-segment' into staging_065 2018-06-07 01:27:15 +02:00
Dominik Ritter
db76380563 Merge remote-tracking branch 'sambadevi/feature/hide-battery-segment' into staging_065 2018-06-07 01:25:24 +02:00
Dominik Ritter
3456af3aac Merge remote-tracking branch 'opes/chruby_options' into staging_065 2018-06-07 01:21:16 +02:00
Dominik Ritter
d3500625ca Merge remote-tracking branch 'TheDan64/master' into staging_065
Conflicts were:
- test/segments/rust_version.spec and powerlevel9k.zsh-theme. #826
removes grep from parsing the rust version on next; #703 changes color
names.
2018-06-07 01:00:57 +02:00