mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
notes
This commit is contained in:
parent
1cab51ae9f
commit
f06be72977
1 changed files with 4 additions and 0 deletions
|
@ -14,3 +14,7 @@
|
|||
no POWERLEVEL9K_SEGMENT_*_UPGLOB are, upglob can be checked from _p9k_set_prompt. otherwise it
|
||||
has to be checked from `p10k segment` (or its internal equivalent). how to make it work with
|
||||
static segments that have multiple states? for example, prompt_char.
|
||||
- when directory cannot be shortened any further, start chopping off segments from the left and
|
||||
replacing the chopped off part with `…`. e.g., `…/x/anchor/y/anchor`. the shortest dir
|
||||
representation is thus `…/last` or `…/last` depending on whether the last segment is an anchor.
|
||||
the replacement parameter's value is `…/` (with a slash) to allow for `x/anchor/y/anchor`.
|
||||
|
|
Loading…
Reference in a new issue