fix tide v7 configure: replace --transient flag with fish variable

--transient was removed from tide configure in v7, now controlled
via tide_prompt_transient_enabled universal variable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Anton Volnuhin 2026-03-02 23:06:46 +03:00
parent dfafc9bd9b
commit 1c7bbf7f71

View File

@ -13,7 +13,8 @@ if ! fish -c "type -q tide" &>/dev/null; then
fi fi
echo "Configuring tide prompt..." echo "Configuring tide prompt..."
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 "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'" >/dev/null
fish -c "set -U tide_prompt_transient_enabled false"
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 -- 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 -- gcloud \$tide_right_prompt_items)"
fish -c "set -U tide_right_prompt_items (string match -v -- kubectl \$tide_right_prompt_items)" fish -c "set -U tide_right_prompt_items (string match -v -- kubectl \$tide_right_prompt_items)"