| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If user sets POWERLEVEL9K_DIR_PATH_ABSOLUTE to true, uses absolute paths
instead of home folder abbreviation, e.g. /Users/chris/... instead of
~/...
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Truncate middle directories from the path. How many directories will be
untouched is controlled by POWERLEVEL9K_SHORTER_DIR_LENGTH.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | | |
There's always that one pesky variable name you forget to change...
|
| | | | |
| | | | |
| | | | |
| | | | | |
*Fingers crossed*
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Instead of testing for number of folders, now only tests if string is
longer than 1 character.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Shouldn't code when tired lol.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If `$POWERLEVEL9K_SHORTEN_DELIMITER` is a unicode escape sequence, its
length is 6 instead of 1. Added variable to hold actual character(s)
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Updated length test to include delimiter length.
Added comments
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixed edge cases
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Removed sed from `truncate_middle`, `truncate_from_right` and partially
from `truncate_with_package_name`
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Removed double call to %F and changed $x variables to ${x} for
consistency.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Changed ${POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER} to
"${(L)POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER}" == "true" Lines 876 & 882
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Missed an = inside the test for highlighting the last dir of the working
directory. Travis should work now *fingers crossed*
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Replaced external calls to `dirname` and `basename` with paramater
substitution.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Added a case where there is no last dir foreground, but still bold.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Added `set_default POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD false`
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Missed the `%b` on making the last dir bold which leaked into the
command prompt.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Missed the bold reset code `%b` in the logic, which caused everthing
after the last dir to be bold, including the command line entry.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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`.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Added `truncate_to_unique` and `NOT_WRITABLE` to @dritter's code.
|
| | | | |
| | | | |
| | | | |
| | | | | |
These are the changes made by @dritter on `async_all_the_segments`
|
|\ \ \ \ \ |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
Added sudo state to prompt_user
|
| | | | | | | |
|
| | | | | | | |
|