From b88d77fb2d0d5028a6f5670695dee6bec129501f Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Fri, 5 Apr 2024 11:57:45 -0400 Subject: ahhh sloppy fish, still needs fixing, esp with the vars --- .../choices/powerline/powerline_prompt_heads.fish | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish (limited to 'home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish') diff --git a/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish b/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish new file mode 100644 index 0000000..0030cad --- /dev/null +++ b/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish @@ -0,0 +1,32 @@ +function powerline_prompt_heads + _tide_title 'Prompt Heads' + + _tide_option 1 Sharp + set -g fake_tide_left_prompt_suffix  + set -g fake_tide_right_prompt_prefix  + _tide_display_prompt + + _tide_option 2 Slanted + set -g fake_tide_left_prompt_suffix  + set -g fake_tide_right_prompt_prefix  + _tide_display_prompt + + _tide_option 3 Round + set -g fake_tide_left_prompt_suffix  + set -g fake_tide_right_prompt_prefix  + _tide_display_prompt + + _tide_menu (status function) + switch $_tide_selected_option + case Sharp + set -g fake_tide_left_prompt_suffix  + set -g fake_tide_right_prompt_prefix  + case Slanted + set -g fake_tide_left_prompt_suffix  + set -g fake_tide_right_prompt_prefix  + case Round + set -g fake_tide_left_prompt_suffix  + set -g fake_tide_right_prompt_prefix  + end + _next_choice powerline/powerline_prompt_tails +end -- cgit v1.2.3