Skip to content

Commit

Permalink
Add fade options for promt heads and tails
Browse files Browse the repository at this point in the history
  • Loading branch information
scaryrawr committed Sep 7, 2024
1 parent 44c521a commit b9746b4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ function powerline_prompt_heads
set -g fake_tide_right_prompt_prefix ξ‚Ά
_tide_display_prompt

_tide_option 4 Fade
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
Expand All @@ -27,6 +32,9 @@ function powerline_prompt_heads
case Round
set -g fake_tide_left_prompt_suffix ξ‚΄
set -g fake_tide_right_prompt_prefix ξ‚Ά
case Fade
set -g fake_tide_left_prompt_suffix β–“β–’β–‘
set -g fake_tide_right_prompt_prefix β–‘β–’β–“
end
_next_choice powerline/powerline_prompt_tails
end
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ function powerline_prompt_tails
set -g fake_tide_right_prompt_suffix ξ‚΄
_tide_display_prompt

_tide_option 5 Fade
set -g fake_tide_left_prompt_prefix β–‘β–’β–“
set -g fake_tide_right_prompt_suffix β–“β–’β–‘
_tide_display_prompt

_tide_menu (status function)
switch $_tide_selected_option
case Flat
Expand All @@ -35,6 +40,9 @@ function powerline_prompt_tails
case Round
set -g fake_tide_left_prompt_prefix ξ‚Ά
set -g fake_tide_right_prompt_suffix ξ‚΄
case Fade
set -g fake_tide_left_prompt_prefix β–‘β–’β–“
set -g fake_tide_right_prompt_suffix β–“β–’β–‘
end
_next_choice powerline/powerline_prompt_style
end

0 comments on commit b9746b4

Please sign in to comment.