Commit Graph

2934 Commits (c79d0c0478c3b8aab7cd6c906a5e22206faaab83)
 

Author SHA1 Message Date
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.
Dominik Ritter e35f7a0c48 Merge branch 'fix_colors' into prepare_066
Dominik Ritter 8beff9fee6 Merge remote-tracking branch 'JulienPivard/transparent_back_fix' into prepare_066
Dominik Ritter 3c57e4a571 Merge branch 'fix_debug_fonts' into prepare_066
Dominik Ritter 673e029152 Merge remote-tracking branch 'xufab/master' into prepare_066
Dominik Ritter e027a8510d Merge remote-tracking branch 'docwhat/pr/fix-test-in-docker-on-newer-zsh' into prepare_066
Dominik Ritter 3b8f0abdb2 Merge remote-tracking branch 'docwhat/pr/sudo-check' into prepare_066
Dominik Ritter aca20ae463 Merge branch 'add_tests' into prepare_066
Dominik Ritter ba353caa98 Fix tests for context segment
Dominik Ritter 3c991f902c Make Travis use XCode9.4
Dominik Ritter e7cbcc5187 Fix tests
Dominik Ritter 81fd69ae98 Update shunit2 to newest version
Christian Höltje 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 
Dominik Ritter 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.
Dominik Ritter 3b0397d1a6 Fix test for background_jobs segment
Dominik Ritter 06de83cc0f Prepare tests for performance optimizations
Dominik Ritter 99f0eddd62 Add tests for nerdfont-complete icons
Dominik Ritter 4972f0b8eb Improve tests by making use of local variables
Dominik Ritter 822b820a6e Improve guide for testing
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
xufab acaf8c6087
Missing `etc` state for the `dir` segment in docs
Ben Hilburn 571a859413
Merge pull request from brandon14/laravel_pormpt_fix
[Bugfix] Fix error in laravel_version when artisan is not present
Brandon Clothier 9739c68894
Missed a parenthesis here.
Dominik Ritter ebd4414c29 Fix trimming of whitespace in debug/font-issues.zsh
Dominik Ritter f89a5bb365 Fix debug/font-issues.zsh
- Add trim function
- Make our $OS and neofetchs $os compatible
Ythildir 5ce384fb31 Test more readable
Ythildir e39e024e74 Resolve Transparent background
Now function getColorCode consider value 'none' like a good value.
When it's use to set background the segment become transparent
Dominik Ritter 856071716e Fix font issue debugging script
Dominik Ritter 17229ddad7 Add tests for general prompt functionality
Dominik Ritter f6087199f9 Add tests for visual identifier
Dominik Ritter 84c8ddce70 Drop support for ZSH < 5.1
Dominik Ritter a8d7cee786 Add tests for joining segments
Dominik Ritter 16e5e14af7 Fix tests on older ZSH versions
Dominik Ritter 4b32b2c0b2 Fix tests
Dominik Ritter 2fa2e7560f Remove vcs.spec
There are now specific tests for git and hg
Dominik Ritter 7bfa471e41 Fix tests for dir segment on OSX
Ben Hilburn e70ce43809
Merge pull request from onaforeignshore/fix_truncate_to_unique
[Bugfix] Fix for "truncate_to_unique" strategy
Dominik Ritter cf353f5660 Add tests for color overriding
Dominik Ritter 7a7b4ee13a Merge remote-tracking branch 'ben/master' into add_tests
Dominik Ritter a5d9227fcb Add tests for vi_mode segment
Dominik Ritter 671f826a40 Set background color of vi_mode segment to white in insert mode
Dominik Ritter d13410d38c Fix tests for nvm segment
Dominik Ritter aa5e9ccc3b Add tests for vcs (hg) segment
Dominik Ritter ad0c9a6802 Add tests for vcs (git) segment
Dominik Ritter 0d4004ef19 Add tests for todo segment
Dominik Ritter 84f327bd60 Add tests for symfony_version segment
Dominik Ritter 78e03a5fe6 Add tests for swift segment
Dominik Ritter af31b2de9b Add tests for swap segment
Dominik Ritter 7a3aa9d3d1 Change swap segment to take an optional root prefix for testability
Dominik Ritter e51faa0af1 Add tests for ssh segment