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

1930 commits

Author SHA1 Message Date
Dominik Ritter
ad14807cef
Merge pull request #1020 from dritter/fix_context_spec
Fix context spec
2018-10-13 10:24:24 +02:00
Dominik Ritter
d831f12126 Do not throw away users configuration 2018-10-12 22:04:02 +02:00
Dominik Ritter
d1cd83bf0b Fix tests
It seems like Travis changed their infrastructure. We
need to unset SSH_TTY and SSH_CLIENT to get the tests
working again.
2018-10-12 21:50:25 +02:00
Yang Tang
5737ca6e81 Remove extra %f in unit tests 2018-10-12 14:09:22 -04:00
Yang Tang
a98fa7ff54
Merge branch 'master' into fix-rprompt-icons-cut-off 2018-10-12 11:29:50 -04:00
Ben Hilburn
b16c0d51d6
Merge pull request #990 from sblondon/sblondon-fogottenbacktick
[Docs] Add forgotten backtick
2018-09-27 16:22:49 -04:00
sblondon
544a383dad
Add forgotten backtick
`truncate_to_first_and_last` is not properly displayed because the ending backtick is not there.
2018-09-16 11:25:49 +02:00
Paul Gierz
735994f82e Fix for #974 2018-09-07 11:52:21 +02:00
Ben Hilburn
358c105de7 Oops, this change should have been in last commit. 2018-09-06 09:47:35 -04:00
Ben Hilburn
572b7a1299 Removing rbenv from default LPROMPT list. 2018-09-06 09:38:34 -04:00
Ben Hilburn
54d4aee6f4 Updating CHANGELOG for v0.6.6 2018-09-05 14:47:27 -04:00
Ben Hilburn
96f3c1da10
Merge pull request #959 from dritter/fix_color_values
[Discussion] Change bright colors to old version
2018-09-05 13:54:22 -04:00
Dominik Ritter
94897a40f0 Fix tests 2018-09-05 19:07:25 +02:00
Dominik Ritter
d326ba6b1b Merge remote-tracking branch 'ben/master' into fix_color_values 2018-09-05 18:55:23 +02:00
Ben Hilburn
e207dec8de
Merge pull request #944 from dritter/prepare_066
Preparing for v0.6.6 release!
2018-08-31 15:43:20 -04:00
Yang Tang
24bbbfc9bd Update unit tests for fixing RPROMPT icons cut off 2018-08-22 15:01:04 -04:00
Yang Tang
877ef61773 Fix icons cut off in RPROMPT segments 2018-08-22 14:37:52 -04:00
Dominik Ritter
df0c2198a0 Fix tests 2018-08-17 18:53:26 +02:00
Dominik Ritter
8e966e3636 Change bright colors to old color codes
Before this, there was no difference in that colors, as we always used
the bright color codes.
2018-08-17 18:52:23 +02:00
Dominik Ritter
69c69b9cd9 Merge remote-tracking branch 'nnja/patch-1' into prepare_066 2018-08-17 08:03:28 +02:00
Nina Zakharenko
cd723e7792
Fix broken link in README referencing date and time configuration
Fix broken link referencing zsh date and time configuration in prompt expansion. 

The current broken link points to `http://zsh.sourceforge.net/Doc/Release Prompt-Expansion.html`, while the correct link is http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Date-and-time
2018-08-16 22:33:47 -07:00
Dominik Ritter
6e78f7e793 Merge remote-tracking branch 'eloo/master' into prepare_066 2018-08-12 00:02:23 +02:00
Joseph Weigl
34bf8edc89
Add fallback icon for linux distros 2018-08-11 16:18:23 +02:00
Dominik Ritter
2700cb46f5 Merge remote-tracking branch 'docwhat/pr/sudo-check' into prepare_066 2018-08-10 22:12:49 +02:00
Christian Höltje
3fb0383956 Use SUDO_COMMAND to check for sudo
`sudo -n true` only checks that we _could_ use `sudo`, not if we are in
a sudo session.

closes #852
2018-08-10 10:41:01 -04:00
Dominik Ritter
7a1319c2d9 Add tests for color comparisons with none colors 2018-08-10 00:47:20 +02:00
Dominik Ritter
6daef84c60 Merge branch 'fix_colors' into prepare_066 2018-08-09 23:22:33 +02:00
Dominik Ritter
52ce9930bb Fix foreground colors in right prompt segments 2018-08-09 23:20:48 +02:00
Dominik Ritter
a0d57bc455 Add test for bright colors 2018-08-09 08:11:19 +02:00
Dominik Ritter
e0630d7573 Merge branch 'fix_colors' into prepare_066 2018-08-09 00:28:50 +02:00
Dominik Ritter
ef5f9bb1b4 Fix tests 2018-08-08 23:47:01 +02:00
Dominik Ritter
27fe2c6571 Make use of helper function in left_end_segment 2018-08-08 23:36:40 +02:00
Dominik Ritter
6f5827009f Fix colors for visual identifiers
Make the visual identifier color use numerical color codes as well. This
way colors like "purple3" work as visual identifier color.
2018-08-08 23:18:36 +02:00
Dominik Ritter
c7e543ff23 Merge branch 'fix_colors' into prepare_066 2018-08-08 02:03:03 +02:00
Dominik Ritter
424d41761d Write comparison with double quotes 2018-08-08 01:11:44 +02:00
Dominik Ritter
057b07b214 Fix tests 2018-08-08 01:01:14 +02:00
Dominik Ritter
39fe5217c6 Pad colors with zeroes 2018-08-08 01:00:43 +02:00
Dominik Ritter
e970a021c8 Fix tests 2018-08-08 00:42:42 +02:00
Dominik Ritter
19235b2359 Always use color codes instead of named colors
This Code was to check if the color is supported by the Terminal
Emulator. This is not necessary, if we always use the numerical code.
This makes the code much clearer.
2018-08-08 00:40:41 +02:00
Dominik Ritter
beacb0ad35 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-08 00:40:05 +02:00
Dominik Ritter
93324c0600 Improve naming of variables
As a side effect this should improve the performance slightly, as we get
the fore- and background color codes as early as possible, and store the
result, so that we don't have to recalculate the color code all over.
2018-08-07 22:00:11 +02:00
Dominik Ritter
02506893a9 Remove duplicate variable 2018-08-07 21:58:32 +02:00
Dominik Ritter
0acede2fdc Make colors a global array
That way it must not be defined in every function call.
2018-08-07 21:36:49 +02:00
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
e35f7a0c48 Merge branch 'fix_colors' into prepare_066 2018-08-06 00:56:29 +02:00
Dominik Ritter
8beff9fee6 Merge remote-tracking branch 'JulienPivard/transparent_back_fix' into prepare_066 2018-08-06 00:38:19 +02:00
Dominik Ritter
3c57e4a571 Merge branch 'fix_debug_fonts' into prepare_066 2018-08-06 00:34:46 +02:00