Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | | #777 Add POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW variable to display ↵ | Ryan Davidson | 2018-04-03 | 1 | -5/+6 | |
| | |/ / / | | | | | | | | | | | | | | | | prompt_rbenv if rbenv_version_name is the same as rbenv_global | |||||
| * | | | | Merge pull request #773 from conradhaupt/fix_dir_nav | Ben Hilburn | 2018-04-14 | 1 | -1/+3 | |
| |\ \ \ \ | | | | | | | | | | | | | Fixed home abbreviation not being exclusive with circular navigation | |||||
| | * | | | | Fixed home abbreviation not being exclusive with circular navigation | Conrad Haupt | 2018-03-12 | 1 | -1/+3 | |
| | |/ / / | ||||||
| * / / / | workaround for ZSH status behavior | Christian Höltje | 2018-03-26 | 1 | -2/+7 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `$pipestatus` is returning all zeros when using `[[ ]]` expressions that are false. This works around it by using `$status` (A.K.A. `$?`) when `$pipestatus` has only 1 items. Fixes #749 | |||||
* | | | | Make _path variable local in anaconda segment | Dominik Ritter | 2018-03-28 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Make variables local | Dominik Ritter | 2018-03-27 | 1 | -2/+4 | |
| | | | | ||||||
* | | | | **LARGE MERGE THAT TOUCHES LOTS OF THINGS.** | Ben Hilburn | 2018-03-07 | 1 | -77/+175 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | From this point until the next tagged release, `next` will be in a state of heavy flux as we make some significant and invasive changes. | |||||
| * | | | | Updated testing for folder icons | Christo Kotze | 2018-02-23 | 1 | -4/+3 | |
| | | | | | ||||||
| * | | | | Added POWERLEVEL9K_DIR_PATH_ABSOLUTE to README.md | Christo Kotze | 2018-02-23 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | Added new variable POWERLEVEL9K_DIR_PATH_ABSOLUTE | Christo Kotze | 2018-02-23 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If user sets POWERLEVEL9K_DIR_PATH_ABSOLUTE to true, uses absolute paths instead of home folder abbreviation, e.g. /Users/chris/... instead of ~/... | |||||
| * | | | | Fixed typo - ~= instead of != | Christo Kotze | 2018-02-23 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Added test for root based folder to first&last | Christo Kotze | 2018-02-23 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | Added truncate_to_first_and_last strategy | Christo Kotze | 2018-02-23 | 1 | -28/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Truncate middle directories from the path. How many directories will be untouched is controlled by POWERLEVEL9K_SHORTER_DIR_LENGTH. | |||||
| * | | | | Update to truncate_absolute | Christo Kotze | 2018-02-22 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Removed final SEDs and more comments | Christo Kotze | 2018-02-22 | 1 | -14/+33 | |
| | | | | | ||||||
| * | | | | Comments, trunc_to_last, trunc_absolute | Christo Kotze | 2018-02-22 | 1 | -12/+40 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added comments throughout the code Added `truncate_to_last` - displays only the current folder Added `truncate_absolute` - displays only the last POWERLEVEL9K_SHORTER_DIR_LENGTH characters - see #736 | |||||
| * | | | | Missed one variable name change | Christo Kotze | 2018-02-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | There's always that one pesky variable name you forget to change... | |||||
| * | | | | All code should now be functional | Christo Kotze | 2018-02-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | *Fingers crossed* | |||||
| * | | | | Updated test for trunc_to_unique | Christo Kotze | 2018-02-22 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of testing for number of folders, now only tests if string is longer than 1 character. | |||||
| * | | | | Fixed error in coding | Christo Kotze | 2018-02-19 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | Shouldn't code when tired lol. | |||||
| * | | | | Forgot to update code when creating new func | Christo Kotze | 2018-02-19 | 1 | -2/+3 | |
| | | | | | ||||||
| * | | | | Added truncatePath to utilities.zsh | Christo Kotze | 2018-02-19 | 1 | -60/+33 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added `function truncatePath()` to utilities.zsh to take care of truncation. This is pure zsh code, without calls to `sed`. Parameters are: * $1 Path: string - the directory path to be truncated * $2 Length: integer - length to truncate to * $3 Delimiter: string - the delimiter to use * $4 From: string - "right" | "middle". If omited, assumes right. Cleaned up code to use the new function instead. | |||||
| * | | | | Improved truncation code | Christo Kotze | 2018-02-19 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | Updated truncate_to_unique | Christo Kotze | 2018-02-18 | 1 | -2/+3 | |
| | | | | | ||||||
| * | | | | Updated code for testing | Christo Kotze | 2018-02-18 | 1 | -30/+30 | |
| | | | | | ||||||
| * | | | | Added / for non-home folders | Christo Kotze | 2018-02-18 | 1 | -0/+2 | |
| | | | | | ||||||
| * | | | | Rewrote trunc middle/right to use for loop | Christo Kotze | 2018-02-18 | 1 | -47/+41 | |
| | | | | | ||||||
| * | | | | Fixed another typo - shouldn't code when sick :p | Christo Kotze | 2018-02-18 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Fixed typo | Christo Kotze | 2018-02-18 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Added test for dir_length == trunc_length | Christo Kotze | 2018-02-18 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Updated truncate_from_right test | Christo Kotze | 2018-02-18 | 1 | -3/+2 | |
| | | | | | ||||||
| * | | | | Changed current_dir - Test Travis response | Christo Kotze | 2018-02-18 | 1 | -2/+3 | |
| | | | | | ||||||
| * | | | | 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. |