all repos — nixfiles @ 71f9a403c10ff36722396134f047ce8393b914ad

System and user configuration, managed by nix and home-manager

fish: move context to left side

Alin
commit

71f9a403c10ff36722396134f047ce8393b914ad

parent

3f217996b70a4825d06d7d45bf08ad7834c60003

1 file changed, 6 insertions(+), 1 deletion(-)

changed files
M user/settings/fish.nix → user/settings/fish.nix
@@ -79,7 +79,12 @@ --lean_prompt_height="Two lines" \
--prompt_connection=Disconnected \ --prompt_spacing=Compact \ --icons="Few icons" - set --universal tide_left_prompt_items shlvl pwd vcs newline character + set --universal tide_left_prompt_items shlvl context pwd vcs newline character + + set --local idx (contains --index context $tide_right_prompt_items) + and set --universal --erase tide_right_prompt_items[$idx] + + tide reload ' ''; }