aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'fix_colors' into prepare_066Dominik Ritter2018-08-0839-600/+588
|\
| * Write comparison with double quotesDominik Ritter2018-08-081-1/+1
| |
| * Fix testsDominik Ritter2018-08-081-2/+2
| |
| * Pad colors with zeroesDominik Ritter2018-08-081-1/+2
| |
| * Fix testsDominik Ritter2018-08-089-83/+83
| |
| * Always use color codes instead of named colorsDominik Ritter2018-08-081-34/+25
| | | | | | | | | | | | 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.
| * Fix bright colorsDominik Ritter2018-08-081-6/+0
| | | | | | | | | | | | 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 0e37d8ef865daddd6af02ba78b4a3bb86fd5917e.
| * Improve naming of variablesDominik Ritter2018-08-071-31/+49
| | | | | | | | | | | | 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.
| * Remove duplicate variableDominik Ritter2018-08-071-5/+0
| |
| * Make colors a global arrayDominik Ritter2018-08-071-265/+267
| | | | | | | | That way it must not be defined in every function call.
| * Write comparisons with double equalsDominik Ritter2018-08-071-1/+1
| |
| * Fix bright colorsDominik Ritter2018-08-071-6/+2
| | | | | | | | | | | | 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 0e37d8ef865daddd6af02ba78b4a3bb86fd5917e.
| * Fix bug so that the segment separator of left middle has the right colorDominik Ritter2018-08-071-1/+1
| | | | | | | | | | | | | | 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".
| * Make purpose clear of backgroundColor and foregroundColor functionsDominik Ritter2018-08-072-16/+8
| | | | | | | | | | The functions just start the colors, they do not end them. It seems too much to have a function that terminates a color.
* | Merge branch 'fix_colors' into prepare_066Dominik Ritter2018-08-061-0/+2
|\|
| * Add missing colors to fix color comparisonDominik Ritter2018-07-241-0/+2
| | | | | | | | | | 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
* | Merge remote-tracking branch 'JulienPivard/transparent_back_fix' into ↵Dominik Ritter2018-08-061-0/+4
|\ \ | | | | | | | | | prepare_066
| * | Test more readableYthildir2018-07-221-1/+1
| | |
| * | Resolve #918 Transparent backgroundYthildir2018-07-211-0/+4
| |/ | | | | | | | | Now function getColorCode consider value 'none' like a good value. When it's use to set background the segment become transparent
* | Merge branch 'fix_debug_fonts' into prepare_066Dominik Ritter2018-08-061-48/+289
|\ \
| * | Fix trimming of whitespace in debug/font-issues.zshDominik Ritter2018-07-231-1/+1
| | |
| * | Fix debug/font-issues.zshDominik Ritter2018-07-221-0/+15
| | | | | | | | | | | | | | | - Add trim function - Make our $OS and neofetchs $os compatible
| * | Fix font issue debugging scriptDominik Ritter2018-07-211-48/+274
| |/
* | Merge remote-tracking branch 'xufab/master' into prepare_066Dominik Ritter2018-08-061-0/+2
|\ \
| * | Missing `etc` state for the `dir` segment in docsxufab2018-07-241-0/+2
| | |
* | | Merge remote-tracking branch 'docwhat/pr/fix-test-in-docker-on-newer-zsh' ↵Dominik Ritter2018-08-0610-32/+186
|\ \ \ | | | | | | | | | | | | into prepare_066
| * | | Add Dockerfile for zshing frameworkDominik Ritter2018-07-122-0/+23
| | | |
| * | | Use ubuntu 17.10, as the sources for 17.04 seem to be downDominik Ritter2018-06-281-1/+1
| | | |
| * | | Fixate ZSH versions in dockerDominik Ritter2018-06-283-3/+3
| | | |
| * | | Force creation of symlink in preztoDominik Ritter2018-06-281-1/+1
| | | |
| * | | Add Dockerfiles for ZSH 5.3.1, 5.4.2, 5.5.1Dominik Ritter2018-06-283-0/+110
| | | |
| * | | test-in-docker: resolve version and framework lateChristian Höltje2018-06-271-19/+20
| | | |
| * | | test-in-docker: lint from @dritterChristian Höltje2018-06-271-1/+1
| | | |
| * | | test-in-docker: add dry-run modeChristian Höltje2018-06-271-7/+18
| | | |
| * | | test-in-docker: make vars sorted and readonlyChristian Höltje2018-06-271-2/+7
| | | | | | | | | | | | | | | | | | | | Marking variables as readonly is helpful for debugging and preventing problems.
| * | | test-in-docker: add additional warningsChristian Höltje2018-06-271-0/+1
| | | |
| * | | test-in-docker: fix in zsh > 5.3Christian Höltje2018-06-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The way I was filtering out entries in the frameworks array stopped working in newer versions of ZSH; it would convert the array into a string (you could see it with `typeset -p frameworks`) So I rewrote it. I don't see anything in the release notes for ZSH that would explain this and I didn't find any option that would restore this behavior. Related: #882
* | | | Merge remote-tracking branch 'docwhat/pr/sudo-check' into prepare_066Dominik Ritter2018-08-061-2/+2
|\ \ \ \
| * | | | Use SUDO_COMMAND to check for sudoChristian Höltje2018-07-311-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | `sudo -n true` only checks that we _could_ use `sudo`, not if we are in a sudo session. closes #852
* | | | Merge branch 'add_tests' into prepare_066Dominik Ritter2018-08-0645-573/+3892
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix tests for context segmentDominik Ritter2018-08-051-0/+5
| | | |
| * | | Make Travis use XCode9.4Dominik Ritter2018-08-051-0/+2
| | | |
| * | | Fix testsDominik Ritter2018-08-042-0/+6
| | | |
| * | | Update shunit2 to newest versionDominik Ritter2018-08-0440-39/+39
| | | |
| * | | Fix Test for context segmentDominik Ritter2018-07-311-0/+5
| | | | | | | | | | | | | | | | | | | | 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.
| * | | Fix test for background_jobs segmentDominik Ritter2018-07-251-1/+1
| | | |
| * | | Prepare tests for performance optimizationsDominik Ritter2018-07-2531-113/+641
| | | |
| * | | Add tests for nerdfont-complete iconsDominik Ritter2018-07-241-0/+117
| | | |
| * | | Improve tests by making use of local variablesDominik Ritter2018-07-248-281/+207
| | | |
| * | | Improve guide for testingDominik Ritter2018-07-241-12/+32
| | | |