Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix issue with SHORTEN_DELIM | Christo Kotze | 2018-02-17 | 1 | -3/+6 |
| | | | | | If `$POWERLEVEL9K_SHORTEN_DELIMITER` is a unicode escape sequence, its length is 6 instead of 1. Added variable to hold actual character(s) | ||||
* | Updated previous test as Travis still fails | Christo Kotze | 2018-02-17 | 1 | -1/+1 |
| | |||||
* | Fixed truncate_from_right to incl length of delim | Christo Kotze | 2018-02-17 | 1 | -11/+11 |
| | | | | | Updated length test to include delimiter length. Added comments | ||||
* | Accidentally deleted )) which threw an error | Christo Kotze | 2018-02-17 | 1 | -1/+1 |
| | |||||
* | Fixed accidentally truncating current folder too | Christo Kotze | 2018-02-17 | 1 | -3/+3 |
| | |||||
* | Added edge case tests for ~ and / | Christo Kotze | 2018-02-17 | 1 | -34/+43 |
| | | | | Fixed edge cases | ||||
* | Streamlined dir strategies | Christo Kotze | 2018-02-17 | 1 | -8/+31 |
| | | | | | Removed sed from `truncate_middle`, `truncate_from_right` and partially from `truncate_with_package_name` | ||||
* | More code cleaning (extra %F calls) | Christo Kotze | 2018-02-14 | 1 | -4/+4 |
| | |||||
* | Cleaned up DIR_PATH_HIGHLIGHT code | Christo Kotze | 2018-02-14 | 1 | -4/+4 |
| | | | | | Removed double call to %F and changed $x variables to ${x} for consistency. | ||||
* | Explicitly test if DIR_OMIT_FIRST_CHARACTER = true | Christo Kotze | 2018-02-14 | 1 | -3/+3 |
| | | | | | Changed ${POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER} to "${(L)POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER}" == "true" Lines 876 & 882 | ||||
* | Fixed = instead of == inside [[]] line 865 | Christo Kotze | 2018-02-14 | 1 | -1/+1 |
| | | | | | Missed an = inside the test for highlighting the last dir of the working directory. Travis should work now *fingers crossed* | ||||
* | Parameter substitution instead of dirname/basename | Christo Kotze | 2018-02-14 | 1 | -4/+8 |
| | | | | | Replaced external calls to `dirname` and `basename` with paramater substitution. | ||||
* | Updated logic in prompt_dir | Christo Kotze | 2018-02-11 | 1 | -2/+8 |
| | | | | Added a case where there is no last dir foreground, but still bold. | ||||
* | Renamed $bd to $bld | Christo Kotze | 2018-02-11 | 1 | -4/+4 |
| | |||||
* | Attempt to fix Travis error | Christo Kotze | 2018-02-11 | 1 | -5/+5 |
| | |||||
* | Changed testing for bold last dir | Christo Kotze | 2018-02-11 | 1 | -1/+1 |
| | |||||
* | Added set_default for bold dir segment | Christo Kotze | 2018-02-11 | 1 | -0/+1 |
| | | | | Added `set_default POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD false` | ||||
* | Fixed reset bold on last dir missing. | Christo Kotze | 2018-02-11 | 1 | -1/+1 |
| | | | | | Missed the `%b` on making the last dir bold which leaked into the command prompt. | ||||
* | Last dir bold - missed reset | Christo Kotze | 2018-02-10 | 1 | -1/+1 |
| | | | | | Missed the bold reset code `%b` in the logic, which caused everthing after the last dir to be bold, including the command line entry. | ||||
* | PROMPT_DIR color/bold on last dir & color for sep. | Christo Kotze | 2018-02-10 | 1 | -8/+30 |
| | | | | | | | You can now set the last dir to have a custom color with `POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND` and whether it will be bold with `POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD=true`. You can also set a custom separator color with `POWERLEVEL9K_DIR_PATH_SEPARATOR_FOREGROUND`. | ||||
* | Merged `truncate_to_unique` & state `NOT_WRITABLE` | Christo Kotze | 2018-02-10 | 1 | -1/+25 |
| | | | | Added `truncate_to_unique` and `NOT_WRITABLE` to @dritter's code. | ||||
* | Incorporated @dritter 's changes into next | Christo Kotze | 2018-02-10 | 1 | -38/+9 |
| | | | | These are the changes made by @dritter on `async_all_the_segments` | ||||
* | Merge pull request #681 from Stazer/tcolor-warning | Ben Hilburn | 2018-01-31 | 1 | -7/+11 |
|\ | | | | | Added flag to ignore checking the term colors & lang settings | ||||
| * | Minor fix of copy/paste error | Ben Hilburn | 2018-01-31 | 1 | -1/+1 |
| | | |||||
| * | added POWERLEVEL9K_IGNORE_TERM_LANG for disabling term_lang check | Justus Flerlage | 2018-01-07 | 1 | -8/+11 |
| | | |||||
| * | renamed POWERLEVEL9K_CHECK_TERM_COLORS to POWERLEVEL9K_IGNORE_TERM_COLORS | Justus Flerlage | 2018-01-07 | 1 | -1/+1 |
| | | |||||
| * | Added flag for checking the term colors | Justus Flerlage | 2018-01-07 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #717 from onaforeignshore/date_segment | Ben Hilburn | 2018-01-24 | 1 | -27/+89 |
|\ \ | |/ |/| | Added `prompt_date` and fixed segment comments | ||||
| * | Updates to `prompt_date` and `prompt_time` | Christo Kotze | 2018-01-05 | 1 | -10/+4 |
| | | | | | | | | | | Using `set_default` to set the defaults - makes the code shorter and more readable and bypasses errors. | ||||
| * | Added `prompt_date` and fixed segment comments | Christo Kotze | 2018-01-05 | 1 | -23/+91 |
| | | | | | | | | | | Added separators for all segments (####) Added descriptions for missing ones | ||||
* | | Merge pull request #677 from lemaral/POWERLEVEL9K_PUBLIC_IP_VPN_INTERFACE | Ben Hilburn | 2018-01-06 | 1 | -1/+10 |
|\ \ | | | | | | | Replace PUBLIC_IP_ICON with VPN_ICON if VPN is up | ||||
| * | | Fix newline issue | lemaral | 2017-12-31 | 1 | -1/+2 |
| | | | |||||
| * | | Replace PUBLIC_IP_ICON with VPN_ICON if VPN is up | lemaral | 2017-11-15 | 1 | -2/+10 |
| | | | | | | | | | Replace PUBLIC_IP_ICON with VPN_ICON if $POWERLEVEL9K_PUBLIC_IP_VPN_INTERFACE is set and up | ||||
* | | | Merge branch 'Artistan-master' into next | Ben Hilburn | 2018-01-06 | 1 | -17/+11 |
|\ \ \ | |_|/ |/| | | |||||
| * | | colors checking optimized and added tput for check the colors | Charles Peterson | 2017-12-31 | 1 | -8/+1 |
| | | | | | | | | | | | | moved to colors functions, because it makes sense. | ||||
| * | | make sure the default colors are encoded properly in case they are named... | Charles Peterson | 2017-12-31 | 1 | -5/+6 |
| | | | |||||
| * | | fix for colors since the terminals so not always render named colors when ↵ | Charles Peterson | 2017-12-16 | 1 | -4/+4 |
| | | | | | | | | | | | | using parameter expansion. | ||||
* | | | Add remote state to context prompt | Richard Tippl | 2017-12-23 | 1 | -6/+7 |
|/ / | | | | | | | | | | | Adds REMOTE state to color prompt with in case of a shell over ssh. This state has lower priority than ROOT state to not lose the privilege warning. | ||||
* | | Merge pull request #697 from geniusupgrader/next | Ben Hilburn | 2017-12-15 | 1 | -0/+10 |
|\ \ | | | | | | | OpenFOAM support! (fixes #696) | ||||
| * | | fixes #696 | Robin Rosenstock | 2017-12-12 | 1 | -0/+10 |
| | | | |||||
* | | | Merge branch 'master' into next | Ben Hilburn | 2017-12-14 | 1 | -11/+6 |
|\ \ \ | |||||
| * \ \ | Merge pull request #686 from Corwynt/master | Ben Hilburn | 2017-12-14 | 1 | -0/+3 |
| |\ \ \ | | | | | | | | | | | Fixed Issue with whitespaces in path. | ||||
| | * | | | IFS Fix attemp | Torben Hartmann | 2017-12-05 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Fixed Issue with whitespaces in path. | Torben Hartmann | 2017-11-27 | 1 | -0/+3 |
| | | |/ | | |/| | |||||
| * | | | Merge pull request #680 from dinhnv/pyenv-patched | Ben Hilburn | 2017-12-05 | 1 | -11/+3 |
| |\ \ \ | | | | | | | | | | | pyenv promt segment uses $PYENV_VERSION environment variable" | ||||
| | * | | | pyenv promt segment uses $PYENV_VERSION environment variable" | dinhnv | 2017-11-22 | 1 | -11/+3 |
| | |/ / | |||||
* | | / | Fix of k8s shorter segment | David Jetelina | 2017-12-05 | 1 | -3/+3 |
| |_|/ |/| | | | | | My latest PR #676 seemed to have been incompatible with #661 - I did my PR on top of master instead of next. This one is done on top of next and should fix the current not so great state of next (prints nothing). Sorry! | ||||
* | | | Merge pull request #684 from Artistan/color_names | Ben Hilburn | 2017-12-05 | 1 | -17/+21 |
|\ \ \ | | | | | | | | | Use color names, plus fixes | ||||
| * | | | color names and fixes | Charles Peterson | 2017-11-25 | 1 | -17/+21 |
| | |/ | |/| | | | | | | | | | | | | | | | | - fix for packageName truncated by POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER - processing the pwd/HOME replacement ONCE. - fix tests for named colors - use color names by default to allow dark/light themes to adjust colors based on names | ||||
* | | | Merge branch 'master' into next | Ben Hilburn | 2017-12-05 | 1 | -1/+10 |
|\ \ \ | | |/ | |/| |