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 <noreply@anthropic.com>
This commit is contained in:
parent
1a2dfc753d
commit
0fed059f7f
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user