From 15886934008f1ede737ecffdd5dc5d3de24f8397 Mon Sep 17 00:00:00 2001 From: romkatv Date: Wed, 12 Feb 2020 16:59:57 +0100 Subject: [PATCH] notes --- internal/notes.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/notes.txt b/internal/notes.txt index cbd3be2..a873eb8 100644 --- a/internal/notes.txt +++ b/internal/notes.txt @@ -10,7 +10,8 @@ gitstatus. - add _SHOW_SYSTEM to all *env segments. - support states in SHOW_ON_COMMAND: POWERLEVEL9K_SEGMENT_STATE_SHOW_ON_COMMAND='...' -- add POWERLEVEL9K_${SEGMENT}_${STATE}_SHOW_IN_DIR='pwd_pattern' +- add POWERLEVEL9K_${SEGMENT}_${STATE}_SHOW_IN_DIR='pwd_pattern'; implement the same way as + SHOW_ON_UPGLOB. - add `p10k upglob`; returns 0 on match and sets REPLY to the directory where match was found. - 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