Update tide to v6
This commit is contained in:
@@ -6,35 +6,27 @@ function powerline_prompt_heads
|
||||
set -g fake_tide_right_prompt_prefix
|
||||
_tide_display_prompt
|
||||
|
||||
_tide_option 2 Blurred
|
||||
set -g fake_tide_left_prompt_suffix '▓▒░'
|
||||
set -g fake_tide_right_prompt_prefix '░▒▓'
|
||||
_tide_option 2 Slanted
|
||||
set -g fake_tide_left_prompt_suffix
|
||||
set -g fake_tide_right_prompt_prefix
|
||||
_tide_display_prompt
|
||||
|
||||
_tide_option 3 Slanted
|
||||
set -g fake_tide_left_prompt_suffix ''
|
||||
set -g fake_tide_right_prompt_prefix ''
|
||||
_tide_option 3 Round
|
||||
set -g fake_tide_left_prompt_suffix
|
||||
set -g fake_tide_right_prompt_prefix
|
||||
_tide_display_prompt
|
||||
|
||||
_tide_option 4 Round
|
||||
set -g fake_tide_left_prompt_suffix ''
|
||||
set -g fake_tide_right_prompt_prefix ''
|
||||
_tide_display_prompt
|
||||
|
||||
_tide_menu
|
||||
_tide_menu (status function)
|
||||
switch $_tide_selected_option
|
||||
case 1
|
||||
case Sharp
|
||||
set -g fake_tide_left_prompt_suffix
|
||||
set -g fake_tide_right_prompt_prefix
|
||||
case 2
|
||||
set -g fake_tide_left_prompt_suffix '▓▒░'
|
||||
set -g fake_tide_right_prompt_prefix '░▒▓'
|
||||
case 3
|
||||
set -g fake_tide_left_prompt_suffix ''
|
||||
set -g fake_tide_right_prompt_prefix ''
|
||||
case 4
|
||||
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
|
||||
|
Reference in New Issue
Block a user