Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removing `rbenv` from default LPROMPT list. | Ben Hilburn | 2018-09-06 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'docwhat/pr/sudo-check' into prepare_066 | Dominik Ritter | 2018-08-10 | 1 | -1/+1 |
|\ | |||||
| * | Use SUDO_COMMAND to check for sudo | Christian Höltje | 2018-08-10 | 1 | -3/+3 |
| | | | | | | | | | | | | | | `sudo -n true` only checks that we _could_ use `sudo`, not if we are in a sudo session. closes #852 | ||||
* | | Merge branch 'fix_colors' into prepare_066 | Dominik Ritter | 2018-08-10 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fix foreground colors in right prompt segments | Dominik Ritter | 2018-08-10 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'fix_colors' into prepare_066 | Dominik Ritter | 2018-08-09 | 1 | -3/+3 |
|\| | | |||||
| * | | Make use of helper function in left_end_segment | Dominik Ritter | 2018-08-09 | 1 | -1/+1 |
| | | | |||||
| * | | Fix colors for visual identifiers | Dominik Ritter | 2018-08-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Make the visual identifier color use numerical color codes as well. This way colors like "purple3" work as visual identifier color. | ||||
* | | | Merge branch 'fix_colors' into prepare_066 | Dominik Ritter | 2018-08-08 | 1 | -36/+49 |
|\| | | |||||
| * | | 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 |
| | | | |||||
| * | | 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 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | The functions just start the colors, they do not end them. It seems too much to have a function that terminates a color. | ||||
* | | | Merge remote-tracking branch 'docwhat/pr/sudo-check' into prepare_066 | Dominik Ritter | 2018-08-06 | 1 | -2/+2 |
|\ \ \ | |||||
| * | | | Use SUDO_COMMAND to check for sudo | Christian Höltje | 2018-07-31 | 1 | -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_066 | Dominik Ritter | 2018-08-06 | 1 | -25/+29 |
|\ \ \ | |_|/ |/| | | |||||
| * | | Merge remote-tracking branch 'ben/master' into add_tests | Dominik Ritter | 2018-07-19 | 1 | -13/+24 |
| |\| | |||||
| * | | Set background color of vi_mode segment to white in insert mode | Dominik Ritter | 2018-07-19 | 1 | -1/+1 |
| | | | |||||
| * | | Change swap segment to take an optional root prefix for testability | Dominik Ritter | 2018-07-18 | 1 | -2/+3 |
| | | | |||||
| * | | Change ram segment to take an optional root prefix for testability | Dominik Ritter | 2018-07-18 | 1 | -2/+3 |
| | | | |||||
| * | | Change load segment to accept an optional root prefix for testability | Dominik Ritter | 2018-07-18 | 1 | -1/+2 |
| | | | |||||
| * | | Change ip segment so that the tests can be executed on OSX as well | Dominik Ritter | 2018-07-18 | 1 | -4/+6 |
| | | | | | | | | | | | | Change regular expressions to a more compatible format. | ||||
| * | | Simplify detect_virt segment | Dominik Ritter | 2018-07-18 | 1 | -8/+4 |
| | | | |||||
| * | | Add visual identifier to custom segments | Dominik Ritter | 2018-07-18 | 1 | -2/+4 |
| | | | |||||
| * | | Add tests for battery segment | Dominik Ritter | 2018-07-16 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | Additionally - Add a fourth parameter to prompt_battery for better testability. This parameter is the root prefix, so we can use our own test batteries. | ||||
* | | | Merge pull request #912 from brandon14/laravel_pormpt_fix | Ben Hilburn | 2018-07-23 | 1 | -5/+4 |
|\ \ \ | | | | | | | | | [Bugfix] Fix error in laravel_version when artisan is not present | ||||
| * | | | Missed a parenthesis here. | Brandon Clothier | 2018-07-23 | 1 | -1/+1 |
| | | | | |||||
| * | | | Drop grep usage in favor of zsh regex test | Brandon Clothier | 2018-07-18 | 1 | -2/+2 |
| | | | | |||||
| * | | | Fix error in laravel_version when artisan is not present | Brandon Clothier | 2018-07-15 | 1 | -4/+3 |
| | | | | |||||
* | | | | Merge pull request #915 from onaforeignshore/fix_truncate_to_unique | Ben Hilburn | 2018-07-19 | 1 | -17/+29 |
|\ \ \ \ | | | | | | | | | | | [Bugfix] Fix for "truncate_to_unique" strategy | ||||
| * | | | | truncate_to_unique - simplified the code | Christo Kotze | 2018-07-18 | 1 | -44/+23 |
| | | | | | |||||
| * | | | | Changed getUniqueHomeFolder to use $HOME | Christo Kotze | 2018-07-18 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | It is a Posix specification that $HOME be set, so we can use that. See http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html | ||||
| * | | | | Fix for "truncate_to_unique" strategy | Christo Kotze | 2018-07-17 | 1 | -4/+38 |
| |/ / / | |||||
* | | / | Fix `pyenv` segment | Alexara Wu | 2018-07-17 | 1 | -1/+5 |
| |_|/ |/| | | |||||
* | | | Merge pull request #900 from AlexaraWu/patch/pyenv | Ben Hilburn | 2018-07-16 | 1 | -11/+16 |
|\ \ \ | |/ / |/| | | 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 | 1 | -6/+16 |
| |/ | |||||
* | | Merge pull request #905 from ↵ | Ben Hilburn | 2018-07-13 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | robobenklein/robobenklein/defined-variable-performance-hotfix [performance] Defined function 2-20 times speedup | ||||
| * | | Replace [[-v with `defined` | Ben Klein | 2018-07-11 | 1 | -1/+1 |
| |/ | | | | | | | For zsh 5.1 compatibility. | ||||
* / | 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 |
|\ | |||||
| * | kubecontext: fix context, namespace comparison | Kevin McBride | 2018-07-02 | 1 | -1/+1 |
| | | |||||
* | | Fix java_version segment | Dominik Ritter | 2018-06-20 | 1 | -1/+6 |
| | | |||||
* | | 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 | ||||
* | | Mute errors when asking for java version | Dominik Ritter | 2018-06-17 | 1 | -1/+1 |
| | | |||||
* | | Fix `rbenv` segment after merge | Dominik Ritter | 2018-06-09 | 1 | -1/+2 |
| | |