39fe5217c6 
								
							 
						 
						
							
							
								
								Pad colors with zeroes  
							
							
							
						 
						
							2018-08-08 01:00:43 +02:00  
				
					
						
							
							
								 
						
							
								e970a021c8 
								
							 
						 
						
							
							
								
								Fix tests  
							
							
							
						 
						
							2018-08-08 00:42:42 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								02506893a9 
								
							 
						 
						
							
							
								
								Remove duplicate variable  
							
							
							
						 
						
							2018-08-07 21:58:32 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								eadbd09368 
								
							 
						 
						
							
							
								
								Write comparisons with double equals  
							
							
							
						 
						
							2018-08-07 21:35:29 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								e35f7a0c48 
								
							 
						 
						
							
							
								
								Merge branch 'fix_colors' into prepare_066  
							
							
							
						 
						
							2018-08-06 00:56:29 +02:00  
				
					
						
							
							
								 
						
							
								8beff9fee6 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'JulienPivard/transparent_back_fix' into prepare_066  
							
							
							
						 
						
							2018-08-06 00:38:19 +02:00  
				
					
						
							
							
								 
						
							
								3c57e4a571 
								
							 
						 
						
							
							
								
								Merge branch 'fix_debug_fonts' into prepare_066  
							
							
							
						 
						
							2018-08-06 00:34:46 +02:00  
				
					
						
							
							
								 
						
							
								673e029152 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'xufab/master' into prepare_066  
							
							
							
						 
						
							2018-08-06 00:33:40 +02:00  
				
					
						
							
							
								 
						
							
								e027a8510d 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'docwhat/pr/fix-test-in-docker-on-newer-zsh' into prepare_066  
							
							
							
						 
						
							2018-08-06 00:27:50 +02:00  
				
					
						
							
							
								 
						
							
								3b8f0abdb2 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'docwhat/pr/sudo-check' into prepare_066  
							
							
							
						 
						
							2018-08-06 00:26:23 +02:00  
				
					
						
							
							
								 
						
							
								aca20ae463 
								
							 
						 
						
							
							
								
								Merge branch 'add_tests' into prepare_066  
							
							
							
						 
						
							2018-08-06 00:17:23 +02:00  
				
					
						
							
							
								 
						
							
								ba353caa98 
								
							 
						 
						
							
							
								
								Fix tests for context segment  
							
							
							
						 
						
							2018-08-05 22:40:39 +02:00  
				
					
						
							
							
								 
						
							
								3c991f902c 
								
							 
						 
						
							
							
								
								Make Travis use XCode9.4  
							
							
							
						 
						
							2018-08-05 22:26:17 +02:00  
				
					
						
							
							
								 
						
							
								e7cbcc5187 
								
							 
						 
						
							
							
								
								Fix tests  
							
							
							
						 
						
							2018-08-04 22:57:06 +02:00  
				
					
						
							
							
								 
						
							
								81fd69ae98 
								
							 
						 
						
							
							
								
								Update shunit2 to newest version  
							
							
							
						 
						
							2018-08-04 17:34:52 +02:00  
				
					
						
							
							
								 
						
							
								7f6ac8dbac 
								
							 
						 
						
							
							
								
								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-07-31 16:22:26 -04:00  
				
					
						
							
							
								 
						
							
								518148383e 
								
							 
						 
						
							
							
								
								Fix Test for context segment  
							
							... 
							
							
							
							This fixes an error on travis, because there is no sudo allowed. We
could allow it, but I think it is better to mock sudo anyway. 
							
						 
						
							2018-07-31 01:02:24 +02:00  
				
					
						
							
							
								 
						
							
								3b0397d1a6 
								
							 
						 
						
							
							
								
								Fix test for background_jobs segment  
							
							
							
						 
						
							2018-07-25 07:58:38 +02:00  
				
					
						
							
							
								 
						
							
								06de83cc0f 
								
							 
						 
						
							
							
								
								Prepare tests for performance optimizations  
							
							
							
						 
						
							2018-07-25 07:52:06 +02:00  
				
					
						
							
							
								 
						
							
								99f0eddd62 
								
							 
						 
						
							
							
								
								Add tests for nerdfont-complete icons  
							
							
							
						 
						
							2018-07-24 16:34:10 +02:00  
				
					
						
							
							
								 
						
							
								4972f0b8eb 
								
							 
						 
						
							
							
								
								Improve tests by making use of local variables  
							
							
							
						 
						
							2018-07-24 16:24:33 +02:00  
				
					
						
							
							
								 
						
							
								822b820a6e 
								
							 
						 
						
							
							
								
								Improve guide for testing  
							
							
							
						 
						
							2018-07-24 01:22:19 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								acaf8c6087 
								
							 
						 
						
							
							
								
								Missing `etc` state for the `dir` segment in docs  
							
							
							
						 
						
							2018-07-24 00:37:24 +02:00  
				
					
						
							
							
								 
						
							
								571a859413 
								
							 
						 
						
							
							
								
								Merge pull request  #912  from brandon14/laravel_pormpt_fix  
							
							... 
							
							
							
							[Bugfix] Fix error in laravel_version when artisan is not present 
							
						 
						
							2018-07-23 14:34:00 -04:00  
				
					
						
							
							
								 
						
							
								9739c68894 
								
							 
						 
						
							
							
								
								Missed a parenthesis here.  
							
							
							
						 
						
							2018-07-22 21:55:44 -04:00  
				
					
						
							
							
								 
						
							
								ebd4414c29 
								
							 
						 
						
							
							
								
								Fix trimming of whitespace in debug/font-issues.zsh  
							
							
							
						 
						
							2018-07-23 02:16:03 +02:00  
				
					
						
							
							
								 
						
							
								f89a5bb365 
								
							 
						 
						
							
							
								
								Fix debug/font-issues.zsh  
							
							... 
							
							
							
							- Add trim function
- Make our $OS and neofetchs $os compatible 
							
						 
						
							2018-07-22 17:17:28 +02:00  
				
					
						
							
							
								 
						
							
								5ce384fb31 
								
							 
						 
						
							
							
								
								Test more readable  
							
							
							
						 
						
							2018-07-22 00:21:59 +02:00  
				
					
						
							
							
								 
						
							
								e39e024e74 
								
							 
						 
						
							
							
								
								Resolve   #918  Transparent background  
							
							... 
							
							
							
							Now function getColorCode consider value 'none' like a good value.
When it's use to set background the segment become transparent 
							
						 
						
							2018-07-21 22:52:08 +02:00  
				
					
						
							
							
								 
						
							
								856071716e 
								
							 
						 
						
							
							
								
								Fix font issue debugging script  
							
							
							
						 
						
							2018-07-21 00:37:06 +02:00  
				
					
						
							
							
								 
						
							
								17229ddad7 
								
							 
						 
						
							
							
								
								Add tests for general prompt functionality  
							
							
							
						 
						
							2018-07-21 00:01:21 +02:00  
				
					
						
							
							
								 
						
							
								f6087199f9 
								
							 
						 
						
							
							
								
								Add tests for visual identifier  
							
							
							
						 
						
							2018-07-20 22:12:18 +02:00  
				
					
						
							
							
								 
						
							
								84c8ddce70 
								
							 
						 
						
							
							
								
								Drop support for ZSH < 5.1  
							
							
							
						 
						
							2018-07-20 21:16:42 +02:00  
				
					
						
							
							
								 
						
							
								a8d7cee786 
								
							 
						 
						
							
							
								
								Add tests for joining segments  
							
							
							
						 
						
							2018-07-20 19:15:40 +02:00  
				
					
						
							
							
								 
						
							
								16e5e14af7 
								
							 
						 
						
							
							
								
								Fix tests on older ZSH versions  
							
							
							
						 
						
							2018-07-19 22:39:19 +02:00  
				
					
						
							
							
								 
						
							
								4b32b2c0b2 
								
							 
						 
						
							
							
								
								Fix tests  
							
							
							
						 
						
							2018-07-19 22:25:15 +02:00  
				
					
						
							
							
								 
						
							
								2fa2e7560f 
								
							 
						 
						
							
							
								
								Remove vcs.spec  
							
							... 
							
							
							
							There are now specific tests for git and hg 
							
						 
						
							2018-07-19 21:49:06 +02:00  
				
					
						
							
							
								 
						
							
								7bfa471e41 
								
							 
						 
						
							
							
								
								Fix tests for dir segment on OSX  
							
							
							
						 
						
							2018-07-19 21:47:29 +02:00  
				
					
						
							
							
								 
						
							
								e70ce43809 
								
							 
						 
						
							
							
								
								Merge pull request  #915  from onaforeignshore/fix_truncate_to_unique  
							
							... 
							
							
							
							[Bugfix] Fix for "truncate_to_unique" strategy 
							
						 
						
							2018-07-19 08:46:27 -04:00  
				
					
						
							
							
								 
						
							
								cf353f5660 
								
							 
						 
						
							
							
								
								Add tests for color overriding  
							
							
							
						 
						
							2018-07-19 08:15:50 +02:00  
				
					
						
							
							
								 
						
							
								7a7b4ee13a 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'ben/master' into add_tests  
							
							
							
						 
						
							2018-07-19 07:44:16 +02:00  
				
					
						
							
							
								 
						
							
								a5d9227fcb 
								
							 
						 
						
							
							
								
								Add tests for vi_mode segment  
							
							
							
						 
						
							2018-07-19 07:42:47 +02:00