From 0fed059f7f5a237bc305c80c8b22fa5edbcb53db Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Mon, 2 Mar 2026 22:00:42 +0300 Subject: [PATCH] switch to forked tide prompt, fix right prompt item removal - Use antonme/tide fork (from plttn/tide v7) which includes fix for bold leaking from home directory pwd rendering - Replace fragile index-based tide_right_prompt_items removal with explicit name-based filtering of node, gcloud, and kubectl Co-Authored-By: Claude Opus 4.6 --- private_dot_config/private_fish/fish_plugins | 2 +- run_onchange_after_install_main_deps.sh.tmpl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/private_dot_config/private_fish/fish_plugins b/private_dot_config/private_fish/fish_plugins index 04d9b23..a0c74a0 100644 --- a/private_dot_config/private_fish/fish_plugins +++ b/private_dot_config/private_fish/fish_plugins @@ -8,5 +8,5 @@ patrickf1/colored_man_pages.fish jhillyerd/plugin-git patrickf1/fzf.fish lilyball/nix-env.fish -ilancosman/tide@v6 +antonme/tide edc/bass diff --git a/run_onchange_after_install_main_deps.sh.tmpl b/run_onchange_after_install_main_deps.sh.tmpl index 718bf2d..37ae8d6 100644 --- a/run_onchange_after_install_main_deps.sh.tmpl +++ b/run_onchange_after_install_main_deps.sh.tmpl @@ -336,7 +336,9 @@ fi new_line "Configuring tide prompt for fish" fish -c "tide configure --auto --style=Classic --prompt_colors='True color' --classic_prompt_color=Dark --show_time='24-hour format' --classic_prompt_separators=Slanted --powerline_prompt_heads=Slanted --powerline_prompt_tails=Round --powerline_prompt_style='Two lines, frame' --prompt_connection=Disconnected --powerline_right_prompt_frame=No --prompt_connection_andor_frame_color=Darkest --prompt_spacing=Sparse --icons='Few icons' --transient=No" >/dev/null fish -c "set -Ux tide_context_always_display true" -fish -c "set -e tide_right_prompt_items[14]" +fish -c "set -U tide_right_prompt_items (string match -v -- node \$tide_right_prompt_items)" +fish -c "set -U tide_right_prompt_items (string match -v -- gcloud \$tide_right_prompt_items)" +fish -c "set -U tide_right_prompt_items (string match -v -- kubectl \$tide_right_prompt_items)" new_line "Change default shell to fish for user $USER"