Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pad colors with zeroes | Dominik Ritter | 2018-08-08 | 1 | -1/+2 |
| | |||||
* | Fix tests | Dominik Ritter | 2018-08-08 | 9 | -83/+83 |
| | |||||
* | Always use color codes instead of named colors | Dominik Ritter | 2018-08-08 | 1 | -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 colors | Dominik Ritter | 2018-08-08 | 1 | -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 variables | Dominik Ritter | 2018-08-07 | 1 | -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 variable | Dominik Ritter | 2018-08-07 | 1 | -5/+0 |
| | |||||
* | Make colors a global array | Dominik Ritter | 2018-08-07 | 1 | -265/+267 |
| | | | | That way it must not be defined in every function call. | ||||
* | Write comparisons with double equals | Dominik Ritter | 2018-08-07 | 1 | -1/+1 |
| | |||||
* | Fix bright colors | Dominik Ritter | 2018-08-07 | 1 | -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 color | Dominik Ritter | 2018-08-07 | 1 | -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 functions | Dominik Ritter | 2018-08-07 | 2 | -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. | ||||
* | Add missing colors to fix color comparison | Dominik Ritter | 2018-07-24 | 1 | -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 pull request #900 from AlexaraWu/patch/pyenv | Ben Hilburn | 2018-07-16 | 2 | -11/+29 |
|\ | | | | | Fix `pyenv` segment | ||||
| * | Improve conditions in `rbenv` & `pyenv` | Alexara Wu | 2018-07-14 | 1 | -2/+2 |
| | | |||||
| * | Improve `rbenv` as well | Alexara Wu | 2018-07-14 | 1 | -17/+12 |
| | | |||||
| * | Improve command check | Alexara Wu | 2018-07-14 | 1 | -2/+2 |
| | | |||||
| * | Fix `pyenv` segment | Alexara Wu | 2018-07-11 | 2 | -6/+29 |
| | | |||||
* | | Merge pull request #905 from ↵ | Ben Hilburn | 2018-07-13 | 2 | -4/+2 |
|\ \ | | | | | | | | | | | | | robobenklein/robobenklein/defined-variable-performance-hotfix [performance] Defined function 2-20 times speedup | ||||
| * | | Replace `typeset` check with shellvar flag | Ben Klein | 2018-07-12 | 1 | -3/+1 |
| | | | | | | | | | | | | More performance without changing functionality. | ||||
| * | | Replace [[-v with `defined` | Ben Klein | 2018-07-11 | 1 | -1/+1 |
| |/ | | | | | | | For zsh 5.1 compatibility. | ||||
* | | Merge pull request #902 from dritter/fix_context_readme | Ben Hilburn | 2018-07-13 | 1 | -0/+11 |
|\ \ | | | | | | | Add new states to context segment in README | ||||
| * | | Update to `context` segment README | Ben Hilburn | 2018-07-13 | 1 | -6/+6 |
| | | | | | | | | | Just some minor spelling fixes. | ||||
| * | | Add new states to context segment in README | Dominik Ritter | 2018-07-12 | 1 | -0/+11 |
| |/ | |||||
* | | Merge pull request #904 from dritter/fix_status | Ben Hilburn | 2018-07-13 | 3 | -1/+93 |
|\ \ | |/ |/| | FIx status segment | ||||
| * | Add tests for status segment | Dominik Ritter | 2018-07-13 | 2 | -0/+86 |
| | | |||||
| * | FIx status segment | Dominik Ritter | 2018-07-12 | 1 | -1/+7 |
|/ | |||||
* | Fix kubernetes segment | Dominik Ritter | 2018-07-09 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into next | Ben Hilburn | 2018-07-09 | 1 | -1/+1 |
|\ | |||||
| * | Merge pull request #891 from krmcbride/patch-1 | Ben Hilburn | 2018-07-07 | 1 | -1/+1 |
| |\ | | | | | | | kubecontext: fix context, namespace comparison | ||||
| | * | kubecontext: fix context, namespace comparison | Kevin McBride | 2018-07-02 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #888 from blackb1rd/Fix_os_detection_for_MSYS2 | Ben Hilburn | 2018-07-07 | 1 | -1/+1 |
|\ \ | | | | | | | Fix os detection for MSYS | ||||
| * | | Fix os detection for MSYS2 | blackb1rd | 2018-06-30 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #886 from dritter/github_templates | Ben Hilburn | 2018-07-06 | 2 | -0/+67 |
|\ \ \ | |/ / |/| | | Add GitHub templates | ||||
| * | | Update PR Template | Ben Hilburn | 2018-07-06 | 1 | -14/+32 |
| | | | | | | | | | Adding more detail to the PR template first created by @dritter! | ||||
| * | | Updating the Issue Template | Ben Hilburn | 2018-07-06 | 1 | -15/+33 |
| | | | | | | | | | Building on the issue template from @dritter. | ||||
| * | | Add link to troubleshooting guide in issue template | Dominik Ritter | 2018-06-29 | 1 | -0/+3 |
| | | | |||||
| * | | Add github templates for issue reports and new pull requests | Dominik Ritter | 2018-06-29 | 2 | -0/+28 |
| | | | |||||
* | | | Updating CHANGELOG for v0.6.5 | Ben Hilburn | 2018-06-29 | 1 | -1/+21 |
|/ / | |||||
* | | Merge pull request #859 from dritter/staging_065 | Ben Hilburn | 2018-06-25 | 15 | -107/+462 |
|\ \ | | | | | | | Merging the staging branch for 0.6.5! | ||||
| * | | Fix java_version segment | Dominik Ritter | 2018-06-20 | 1 | -1/+6 |
| | | | |||||
| * | | Fix tests | Dominik Ritter | 2018-06-20 | 1 | -1/+1 |
| | | | |||||
| * | | Merge remote-tracking branch 'softmoth/clean-right-margin' into staging_065 | Dominik Ritter | 2018-06-20 | 1 | -1/+10 |
| |\ \ | |||||
| | * | | Hide one-space indent at right margin | Tim Smith | 2018-06-15 | 1 | -1/+10 |
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | Use cog glyph on all modes | Dominik Ritter | 2018-06-17 | 1 | -4/+4 |
| | | | |||||
| * | | Mute errors when asking for java version | Dominik Ritter | 2018-06-17 | 1 | -1/+1 |
| | | | |||||
| * | | Fix variable in README | Dominik Ritter | 2018-06-11 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | - Fix the variable name for the VCS shorten strategy. - Add a heading for VCS truncation. | ||||
| * | | Fix `rbenv` segment after merge | Dominik Ritter | 2018-06-09 | 1 | -1/+2 |
| | | | |||||
| * | | Fix travis build | Dominik Ritter | 2018-06-07 | 3 | -3/+4 |
| | | | |||||
| * | | Add tests for laravel version segment to travis | Dominik Ritter | 2018-06-07 | 2 | -0/+70 |
| | | | |||||
| * | | Add a Laravel version segment | Dominik Ritter | 2018-06-07 | 4 | -0/+24 |
| | | |