Update tide to v6

This commit is contained in:
2025-03-18 20:17:15 +01:00
parent 8303887c16
commit b47ede3300
57 changed files with 623 additions and 469 deletions

View File

@@ -1,21 +1,30 @@
function finish
set_color red
_tide_title 'Overwrite tide config?'
set_color normal
_tide_title Finish
_tide_option y Yes
echo
set_color red
_tide_option y 'Overwrite your current tide config'
set_color normal
echo
_tide_menu
_tide_option p 'Exit and print the config you just generated'
echo
_tide_menu (status function)
switch $_tide_selected_option
case y
case 'Overwrite your current tide config'
_tide_finish
command -q clear && clear
set -q _flag_auto || _tide_print_configure_current_options
case 'Exit and print the config you just generated'
_tide_exit_configure
command -q clear && clear
_tide_print_configure_current_options
end
end
function _tide_finish
set -e _tide_selected_option # Skip through all the _next_choices
_tide_exit_configure
# Deal with prompt char/vi mode
contains character $fake_tide_left_prompt_items || set -p fake_tide_left_prompt_items vi_mode
@@ -29,5 +38,9 @@ function _tide_finish
set -e $_tide_prompt_var 2>/dev/null
# Re-initialize the prompt
source (functions --details fish_prompt)
tide reload
end
function _tide_print_configure_current_options
_tide_fish_colorize "tide configure --auto $_tide_configure_current_options"
end

View File

@@ -8,12 +8,12 @@ function icons
_enable_icons
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case 'Few icons'
_disable_icons
end
_next_choice all/finish
_next_choice all/transient
end
function _enable_icons

View File

@@ -9,9 +9,9 @@ function prompt_colors
set -g _tide_16color true
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case 'True color'
_load_config "$_tide_configure_style"
set -e _tide_16color
switch $_tide_configure_style
@@ -20,7 +20,7 @@ function prompt_colors
case classic
_next_choice classic/classic_prompt_color
end
case 2
case '16 colors'
_next_choice all/show_time
end
end

View File

@@ -2,27 +2,30 @@ function prompt_connection
_tide_title 'Prompt Connection'
_tide_option 1 Disconnected
_tide_display_prompt fake_tide_prompt_icon_connection ' '
set -g fake_tide_prompt_icon_connection ' '
_tide_display_prompt
_tide_option 2 Dotted
_tide_display_prompt fake_tide_prompt_icon_connection '·'
set -g fake_tide_prompt_icon_connection '·'
_tide_display_prompt
_tide_option 3 Solid
_tide_display_prompt fake_tide_prompt_icon_connection '─'
set -g fake_tide_prompt_icon_connection '─'
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case Disconnected
set -g fake_tide_prompt_icon_connection ' '
case 2
case Dotted
set -g fake_tide_prompt_icon_connection '·'
case 3
case Solid
set -g fake_tide_prompt_icon_connection '─'
end
switch $_tide_configure_style
case lean
_next_choice all/prompt_connection_andor_frame_color
case classic rainbow
_next_choice powerline/powerline_prompt_frame
_next_choice powerline/powerline_right_prompt_frame
end
end

View File

@@ -10,26 +10,30 @@ function prompt_connection_andor_frame_color
_tide_title "Connection & Frame Color"
_tide_option 1 Lightest
_tide_display_prompt fake_tide_prompt_color_frame_and_connection 808080
set -g fake_tide_prompt_color_frame_and_connection 808080
_tide_display_prompt
_tide_option 2 Light
_tide_display_prompt fake_tide_prompt_color_frame_and_connection 6C6C6C
set -g fake_tide_prompt_color_frame_and_connection 6C6C6C
_tide_display_prompt
_tide_option 3 Dark
_tide_display_prompt fake_tide_prompt_color_frame_and_connection 585858
set -g fake_tide_prompt_color_frame_and_connection 585858
_tide_display_prompt
_tide_option 4 Darkest
_tide_display_prompt fake_tide_prompt_color_frame_and_connection 444444
set -g fake_tide_prompt_color_frame_and_connection 444444
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case Lightest
set -g fake_tide_prompt_color_frame_and_connection 808080
case 2
case Light
set -g fake_tide_prompt_color_frame_and_connection 6C6C6C
case 3
case Dark
set -g fake_tide_prompt_color_frame_and_connection 585858
case 4
case Darkest
set -g fake_tide_prompt_color_frame_and_connection 444444
end
_next_choice all/prompt_spacing

View File

@@ -2,19 +2,20 @@ function prompt_spacing
_tide_title 'Prompt Spacing'
_tide_option 1 Compact
set -g fake_tide_prompt_add_newline_before false
_tide_display_prompt
printf \e\[1A # Move cursor up 1 row
_tide_display_prompt
_tide_option 2 Sparse
set -g fake_tide_prompt_add_newline_before true
_tide_display_prompt
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case Compact
set -g fake_tide_prompt_add_newline_before false
case 2
case Sparse
set -g fake_tide_prompt_add_newline_before true
end
_next_choice all/icons

View File

@@ -7,20 +7,22 @@ function show_time
set -a fake_tide_right_prompt_items time
_tide_option 2 '24-hour format'
_tide_display_prompt fake_tide_time_format %T
set -g fake_tide_time_format %T
_tide_display_prompt
_tide_option 3 '12-hour format'
_tide_display_prompt fake_tide_time_format '%r'
set -g fake_tide_time_format %r
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case No
set -g fake_tide_time_format ''
set -e fake_tide_right_prompt_items[-1]
case 2
case '24-hour format'
set -g fake_tide_time_format %T
case 3
set -g fake_tide_time_format '%r'
case '12-hour format'
set -g fake_tide_time_format %r
end
switch $_tide_configure_style
case lean

View File

@@ -1,4 +1,6 @@
function style
set -g _tide_configure_current_options
_tide_title 'Prompt Style'
_tide_option 1 Lean
@@ -13,15 +15,15 @@ function style
_load_config rainbow
_tide_display_prompt
_tide_style_menu
_tide_menu (status function) --no-restart
switch $_tide_selected_option
case 1
case Lean
_load_config lean
set -g _tide_configure_style lean
case 2
case Classic
_load_config classic
set -g _tide_configure_style classic
case 3
case Rainbow
_load_config rainbow
set -g _tide_configure_style rainbow
end
@@ -29,29 +31,6 @@ function style
end
function _load_config -a name
string replace -r '^' 'set -g fake_' <(status dirname)/../../icons.fish | source
string replace -r '^' 'set -g fake_' <(status dirname)/../../configs/$name.fish | source
end
function _tide_style_menu # Exactly like _tide_menu except that it doesn't have (r) option
set -l list_with_slashes (string join '/' $_tide_option_list)
echo '(q) Quit and do nothing'\n
while true
set_color -o
read --nchars 1 --prompt-str "Choice [$list_with_slashes/q] " input
set_color normal
switch $input
case q
set -e _tide_selected_option # Skip through all the _next_choices
set -e _tide_option_list
command -q clear && clear
break
case $_tide_option_list
set -e _tide_option_list
set -g _tide_selected_option $input
break
end
end
end

View File

@@ -0,0 +1,22 @@
function transient
_tide_title 'Enable transient prompt?'
_tide_option 1 No
_tide_display_prompt
_tide_display_prompt
_tide_display_prompt
_tide_option 2 Yes
_configure_transient= _tide_display_prompt
_configure_transient= _tide_display_prompt
_tide_display_prompt
_tide_menu (status function)
switch $_tide_selected_option
case No
set fake_tide_prompt_transient_enabled false
case Yes
set fake_tide_prompt_transient_enabled true
end
_next_choice all/finish
end

View File

@@ -17,15 +17,15 @@ function classic_prompt_color
_set_all_items_bg_color 1C1C1C
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case Lightest
_set_all_items_bg_color 585858
case 2
case Light
_set_all_items_bg_color 444444
case 3
case Dark
_set_all_items_bg_color 303030
case 4
case Darkest
_set_all_items_bg_color 1C1C1C
end
_next_choice all/show_time

View File

@@ -7,34 +7,34 @@ function classic_prompt_separators
_tide_display_prompt
_tide_option 2 Vertical
set -g fake_tide_left_prompt_separator_same_color '│'
set -g fake_tide_right_prompt_separator_same_color '│'
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
_tide_display_prompt
_tide_option 3 Slanted
set -g fake_tide_left_prompt_separator_same_color ''
set -g fake_tide_right_prompt_separator_same_color ''
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
_tide_display_prompt
_tide_option 4 Round
set -g fake_tide_left_prompt_separator_same_color ''
set -g fake_tide_right_prompt_separator_same_color ''
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case Angled
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
case 2
set -g fake_tide_left_prompt_separator_same_color '│'
set -g fake_tide_right_prompt_separator_same_color '│'
case 3
set -g fake_tide_left_prompt_separator_same_color ''
set -g fake_tide_right_prompt_separator_same_color ''
case 4
set -g fake_tide_left_prompt_separator_same_color ''
set -g fake_tide_right_prompt_separator_same_color ''
case Vertical
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
case Slanted
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
case Round
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
end
_next_choice powerline/powerline_prompt_heads
end

View File

@@ -11,13 +11,13 @@ function lean_prompt_height
set -g fake_tide_left_prompt_suffix ' '
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case 'One line'
_tide_find_and_remove newline fake_tide_left_prompt_items
set fake_tide_left_prompt_suffix ''
_next_choice all/prompt_connection_andor_frame_color
case 2
case 'Two lines'
_tide_find_and_remove newline fake_tide_left_prompt_items
set -g fake_tide_left_prompt_items $fake_tide_left_prompt_items[1..-2] newline $fake_tide_left_prompt_items[-1]
set -g fake_tide_left_prompt_suffix ' '

View File

@@ -1,46 +0,0 @@
function powerline_prompt_frame
_tide_title 'Prompt Frame'
_tide_option 1 'No frame'
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled false
set -a fake_tide_left_prompt_items character
_tide_display_prompt
set -e fake_tide_left_prompt_items[-1]
_tide_option 2 Left
set fake_tide_left_prompt_frame_enabled true
set fake_tide_right_prompt_frame_enabled false
_tide_display_prompt
_tide_option 3 Right
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled true
set -a fake_tide_left_prompt_items character
_tide_display_prompt
set -e fake_tide_left_prompt_items[-1]
_tide_option 4 Full
set fake_tide_left_prompt_frame_enabled true
set fake_tide_right_prompt_frame_enabled true
_tide_display_prompt
_tide_menu
switch $_tide_selected_option
case 1
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled false
set -a fake_tide_left_prompt_items character
case 2
set fake_tide_left_prompt_frame_enabled true
set fake_tide_right_prompt_frame_enabled false
case 3
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled true
set -a fake_tide_left_prompt_items character
case 4
set fake_tide_left_prompt_frame_enabled true
set fake_tide_right_prompt_frame_enabled true
end
_next_choice all/prompt_connection_andor_frame_color
end

View File

@@ -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

View File

@@ -1,30 +0,0 @@
function powerline_prompt_height
_tide_title 'Prompt Height'
_tide_option 1 'One line'
_tide_find_and_remove newline fake_tide_left_prompt_items
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled false
_tide_display_prompt
_tide_option 2 'Two lines'
set -g fake_tide_left_prompt_items $fake_tide_left_prompt_items newline
set fake_tide_left_prompt_frame_enabled true
set fake_tide_right_prompt_frame_enabled true
_tide_display_prompt
_tide_menu
switch $_tide_selected_option
case 1
_tide_find_and_remove newline fake_tide_left_prompt_items
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled false
_next_choice all/prompt_connection_andor_frame_color
case 2
_tide_find_and_remove newline fake_tide_left_prompt_items
set -g fake_tide_left_prompt_items $fake_tide_left_prompt_items newline
set fake_tide_left_prompt_frame_enabled true
set fake_tide_right_prompt_frame_enabled true
_next_choice all/prompt_connection
end
end

View File

@@ -0,0 +1,51 @@
function powerline_prompt_style
_tide_title 'Powerline Prompt Style'
_tide_option 1 'One line'
_tide_find_and_remove newline fake_tide_left_prompt_items
_tide_find_and_remove character fake_tide_left_prompt_items
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled false
_tide_display_prompt
set -a fake_tide_left_prompt_items newline
_tide_option 2 'Two lines, character'
set -a fake_tide_left_prompt_items character
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled false
_tide_display_prompt
_tide_option 3 'Two lines, frame'
_tide_find_and_remove character fake_tide_left_prompt_items
set fake_tide_left_prompt_frame_enabled true
set fake_tide_right_prompt_frame_enabled true
_tide_display_prompt
_tide_option 4 'Two lines, character and frame'
set -a fake_tide_left_prompt_items character
set fake_tide_left_prompt_frame_enabled true
set fake_tide_right_prompt_frame_enabled true
_tide_display_prompt
_tide_menu (status function)
switch $_tide_selected_option
case 'One line'
_tide_find_and_remove newline fake_tide_left_prompt_items
_tide_find_and_remove character fake_tide_left_prompt_items
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled false
_next_choice all/prompt_connection_andor_frame_color
case 'Two lines, character'
set fake_tide_left_prompt_frame_enabled false
set fake_tide_right_prompt_frame_enabled false
_next_choice all/prompt_connection
case 'Two lines, frame'
_tide_find_and_remove character fake_tide_left_prompt_items
set fake_tide_left_prompt_frame_enabled true
set fake_tide_right_prompt_frame_enabled true
_next_choice all/prompt_connection
case 'Two lines, character and frame'
_next_choice all/prompt_connection
end
end

View File

@@ -6,43 +6,35 @@ function powerline_prompt_tails
set -g fake_tide_right_prompt_suffix ''
_tide_display_prompt
_tide_option 2 Blurred
set -g fake_tide_left_prompt_prefix '░▒▓'
set -g fake_tide_right_prompt_suffix '▓▒░'
_tide_display_prompt
_tide_option 3 Sharp
_tide_option 2 Sharp
set -g fake_tide_left_prompt_prefix
set -g fake_tide_right_prompt_suffix
_tide_display_prompt
_tide_option 4 Slanted
set -g fake_tide_left_prompt_prefix ''
set -g fake_tide_right_prompt_suffix ''
_tide_option 3 Slanted
set -g fake_tide_left_prompt_prefix
set -g fake_tide_right_prompt_suffix
_tide_display_prompt
_tide_option 5 Round
set -g fake_tide_left_prompt_prefix ''
set -g fake_tide_right_prompt_suffix ''
_tide_option 4 Round
set -g fake_tide_left_prompt_prefix
set -g fake_tide_right_prompt_suffix
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case Flat
set -g fake_tide_left_prompt_prefix ''
set -g fake_tide_right_prompt_suffix ''
case 2
set -g fake_tide_left_prompt_prefix '░▒▓'
set -g fake_tide_right_prompt_suffix '▓▒░'
case 3
case Sharp
set -g fake_tide_left_prompt_prefix
set -g fake_tide_right_prompt_suffix
case 4
set -g fake_tide_left_prompt_prefix ''
set -g fake_tide_right_prompt_suffix ''
case 5
set -g fake_tide_left_prompt_prefix ''
set -g fake_tide_right_prompt_suffix ''
case Slanted
set -g fake_tide_left_prompt_prefix
set -g fake_tide_right_prompt_suffix
case Round
set -g fake_tide_left_prompt_prefix
set -g fake_tide_right_prompt_suffix
end
_next_choice powerline/powerline_prompt_height
_next_choice powerline/powerline_prompt_style
end

View File

@@ -0,0 +1,20 @@
function powerline_right_prompt_frame
_tide_title 'Right Prompt Frame'
_tide_option 1 No
set fake_tide_right_prompt_frame_enabled false
_tide_display_prompt
_tide_option 2 Yes
set fake_tide_right_prompt_frame_enabled true
_tide_display_prompt
_tide_menu (status function)
switch $_tide_selected_option
case No
set fake_tide_right_prompt_frame_enabled false
case Yes
set fake_tide_right_prompt_frame_enabled true
end
_next_choice all/prompt_connection_andor_frame_color
end

View File

@@ -21,18 +21,18 @@ function rainbow_prompt_separators
set -g fake_tide_right_prompt_separator_diff_color ''
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case Angled
set -g fake_tide_left_prompt_separator_diff_color
set -g fake_tide_right_prompt_separator_diff_color
case 2
case Vertical
set -g fake_tide_left_prompt_separator_diff_color ''
set -g fake_tide_right_prompt_separator_diff_color ''
case 3
case Slanted
set -g fake_tide_left_prompt_separator_diff_color ''
set -g fake_tide_right_prompt_separator_diff_color ''
case 4
case Round
set -g fake_tide_left_prompt_separator_diff_color ''
set -g fake_tide_right_prompt_separator_diff_color ''
end

View File

@@ -1,19 +1,10 @@
tide_aws_bg_color 444444
tide_aws_color FF9900
tide_aws_icon
tide_character_color $_tide_color_green
tide_character_color_failure FF0000
tide_character_icon
tide_character_vi_icon_default
tide_character_vi_icon_replace
tide_character_vi_icon_visual V
tide_chruby_bg_color 444444
tide_chruby_color B31209
tide_chruby_icon
tide_cmd_duration_bg_color 444444
tide_cmd_duration_color 87875F
tide_cmd_duration_decimals 0
tide_cmd_duration_icon
tide_cmd_duration_threshold 3000
tide_context_always_display false
tide_context_bg_color 444444
@@ -23,25 +14,19 @@ tide_context_color_ssh D7AF87
tide_context_hostname_parts 1
tide_crystal_bg_color 444444
tide_crystal_color FFFFFF
tide_crystal_icon
tide_direnv_bg_color 444444
tide_direnv_bg_color_denied 444444
tide_direnv_color $_tide_color_gold
tide_direnv_color_denied FF0000
tide_direnv_icon
tide_distrobox_bg_color 444444
tide_distrobox_color FF00FF
tide_distrobox_icon
tide_docker_bg_color 444444
tide_docker_color 2496ED
tide_docker_default_contexts default colima
tide_docker_icon
tide_elixir_bg_color 444444
tide_elixir_color 4E2A8E
tide_elixir_icon
tide_gcloud_bg_color 444444
tide_gcloud_color 4285F4
tide_gcloud_icon
tide_git_bg_color 444444
tide_git_bg_color_unstable 444444
tide_git_bg_color_urgent 444444
@@ -53,21 +38,17 @@ tide_git_color_staged $_tide_color_gold
tide_git_color_stash $_tide_color_green
tide_git_color_untracked $_tide_color_light_blue
tide_git_color_upstream $_tide_color_green
tide_git_icon
tide_git_truncation_length 24
tide_git_truncation_strategy
tide_go_bg_color 444444
tide_go_color 00ACD7
tide_go_icon
tide_java_bg_color 444444
tide_java_color ED8B00
tide_java_icon
tide_jobs_bg_color 444444
tide_jobs_color $_tide_color_dark_green
tide_jobs_icon
tide_jobs_number_threshold 1000
tide_kubectl_bg_color 444444
tide_kubectl_color 326CE5
tide_kubectl_icon
tide_left_prompt_frame_enabled true
tide_left_prompt_items pwd git newline
tide_left_prompt_prefix ''
@@ -76,64 +57,53 @@ tide_left_prompt_separator_same_color 
tide_left_prompt_suffix
tide_nix_shell_bg_color 444444
tide_nix_shell_color 7EBAE4
tide_nix_shell_icon
tide_node_bg_color 444444
tide_node_color 44883E
tide_node_icon
tide_os_bg_color 444444
tide_os_color EEEEEE
tide_os_icon $os_branding_icon
tide_php_bg_color 444444
tide_php_color 617CBE
tide_php_icon
tide_private_mode_bg_color 444444
tide_private_mode_color FFFFFF
tide_private_mode_icon
tide_prompt_add_newline_before true
tide_prompt_color_frame_and_connection 6C6C6C
tide_prompt_color_separator_same_color 949494
tide_prompt_icon_connection ' '
tide_prompt_min_cols 34
tide_prompt_pad_items true
tide_prompt_transient_enabled false
tide_pulumi_bg_color 444444
tide_pulumi_color F7BF2A
tide_pulumi_icon ''
tide_pwd_bg_color 444444
tide_pwd_color_anchors $_tide_color_light_blue
tide_pwd_color_dirs $_tide_color_dark_blue
tide_pwd_color_truncated_dirs 8787AF
tide_pwd_icon
tide_pwd_icon_home
tide_pwd_icon_unwritable
tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform Cargo.toml composer.json CVS go.mod package.json
tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform Cargo.toml composer.json CVS go.mod package.json build.zig
tide_python_bg_color 444444
tide_python_color 00AFAF
tide_right_prompt_frame_enabled true
tide_right_prompt_items status cmd_duration context jobs direnv node virtual_env rustc java php pulumi chruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir
tide_right_prompt_items status cmd_duration context jobs direnv node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig
tide_right_prompt_prefix
tide_right_prompt_separator_diff_color
tide_right_prompt_separator_same_color
tide_right_prompt_suffix ''
tide_ruby_bg_color 444444
tide_ruby_color B31209
tide_rustc_bg_color 444444
tide_rustc_color F74C00
tide_rustc_icon
tide_shlvl_bg_color 444444
tide_shlvl_color d78700
tide_shlvl_icon
tide_shlvl_threshold 1
tide_status_bg_color 444444
tide_status_bg_color_failure 444444
tide_status_color $_tide_color_dark_green
tide_status_color_failure D70000
tide_status_icon
tide_status_icon_failure
tide_terraform_bg_color 444444
tide_terraform_color 844FBA
tide_terraform_icon
tide_time_bg_color 444444
tide_time_color 5F8787
tide_time_format %T
tide_toolbox_bg_color 444444
tide_toolbox_color 613583
tide_toolbox_icon
tide_vi_mode_bg_color_default 444444
tide_vi_mode_bg_color_insert 444444
tide_vi_mode_bg_color_replace 444444
@@ -142,10 +112,5 @@ tide_vi_mode_color_default 949494
tide_vi_mode_color_insert 87AFAF
tide_vi_mode_color_replace 87AF87
tide_vi_mode_color_visual FF8700
tide_vi_mode_icon_default D
tide_vi_mode_icon_insert I
tide_vi_mode_icon_replace R
tide_vi_mode_icon_visual V
tide_virtual_env_bg_color 444444
tide_virtual_env_color 00AFAF
tide_virtual_env_icon
tide_zig_bg_color 444444
tide_zig_color F7A41D

View File

@@ -2,8 +2,6 @@ tide_aws_bg_color black
tide_aws_color yellow
tide_character_color brgreen
tide_character_color_failure brred
tide_chruby_bg_color black
tide_chruby_color red
tide_cmd_duration_bg_color black
tide_cmd_duration_color brblack
tide_context_bg_color black
@@ -61,6 +59,10 @@ tide_pwd_bg_color black
tide_pwd_color_anchors brcyan
tide_pwd_color_dirs cyan
tide_pwd_color_truncated_dirs magenta
tide_python_bg_color black
tide_python_color cyan
tide_ruby_bg_color black
tide_ruby_color red
tide_rustc_bg_color black
tide_rustc_color red
tide_shlvl_bg_color black
@@ -83,5 +85,5 @@ tide_vi_mode_color_default white
tide_vi_mode_color_insert cyan
tide_vi_mode_color_replace green
tide_vi_mode_color_visual yellow
tide_virtual_env_bg_color black
tide_virtual_env_color cyan
tide_zig_bg_color black
tide_zig_color yellow

View File

@@ -1,19 +1,10 @@
tide_aws_bg_color normal
tide_aws_color FF9900
tide_aws_icon
tide_character_color $_tide_color_green
tide_character_color_failure FF0000
tide_character_icon
tide_character_vi_icon_default
tide_character_vi_icon_replace
tide_character_vi_icon_visual V
tide_chruby_bg_color normal
tide_chruby_color B31209
tide_chruby_icon
tide_cmd_duration_bg_color normal
tide_cmd_duration_color 87875F
tide_cmd_duration_decimals 0
tide_cmd_duration_icon
tide_cmd_duration_threshold 3000
tide_context_always_display false
tide_context_bg_color normal
@@ -23,25 +14,19 @@ tide_context_color_ssh D7AF87
tide_context_hostname_parts 1
tide_crystal_bg_color normal
tide_crystal_color FFFFFF
tide_crystal_icon
tide_direnv_bg_color normal
tide_direnv_bg_color_denied normal
tide_direnv_color $_tide_color_gold
tide_direnv_color_denied FF0000
tide_direnv_icon
tide_distrobox_bg_color normal
tide_distrobox_color FF00FF
tide_distrobox_icon
tide_docker_bg_color normal
tide_docker_color 2496ED
tide_docker_default_contexts default colima
tide_docker_icon
tide_elixir_bg_color normal
tide_elixir_color 4E2A8E
tide_elixir_icon
tide_gcloud_bg_color normal
tide_gcloud_color 4285F4
tide_gcloud_icon
tide_git_bg_color normal
tide_git_bg_color_unstable normal
tide_git_bg_color_urgent normal
@@ -53,21 +38,17 @@ tide_git_color_staged $_tide_color_gold
tide_git_color_stash $_tide_color_green
tide_git_color_untracked $_tide_color_light_blue
tide_git_color_upstream $_tide_color_green
tide_git_icon
tide_git_truncation_length 24
tide_git_truncation_strategy
tide_go_bg_color normal
tide_go_color 00ACD7
tide_go_icon
tide_java_bg_color normal
tide_java_color ED8B00
tide_java_icon
tide_jobs_bg_color normal
tide_jobs_color $_tide_color_dark_green
tide_jobs_icon
tide_jobs_number_threshold 1000
tide_kubectl_bg_color normal
tide_kubectl_color 326CE5
tide_kubectl_icon
tide_left_prompt_frame_enabled false
tide_left_prompt_items pwd git newline character
tide_left_prompt_prefix ''
@@ -76,64 +57,53 @@ tide_left_prompt_separator_same_color ' '
tide_left_prompt_suffix ' '
tide_nix_shell_bg_color normal
tide_nix_shell_color 7EBAE4
tide_nix_shell_icon
tide_node_bg_color normal
tide_node_color 44883E
tide_node_icon
tide_os_bg_color normal
tide_os_color normal
tide_os_icon $os_branding_icon
tide_php_bg_color normal
tide_php_color 617CBE
tide_php_icon
tide_private_mode_bg_color normal
tide_private_mode_color FFFFFF
tide_private_mode_icon
tide_prompt_add_newline_before true
tide_prompt_color_frame_and_connection 6C6C6C
tide_prompt_color_separator_same_color 949494
tide_prompt_icon_connection ' '
tide_prompt_min_cols 34
tide_prompt_pad_items false
tide_prompt_transient_enabled false
tide_pulumi_bg_color normal
tide_pulumi_color F7BF2A
tide_pulumi_icon ''
tide_pwd_bg_color normal
tide_pwd_color_anchors $_tide_color_light_blue
tide_pwd_color_dirs $_tide_color_dark_blue
tide_pwd_color_truncated_dirs 8787AF
tide_pwd_icon
tide_pwd_icon_home
tide_pwd_icon_unwritable
tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform Cargo.toml composer.json CVS go.mod package.json
tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform Cargo.toml composer.json CVS go.mod package.json build.zig
tide_python_bg_color normal
tide_python_color 00AFAF
tide_right_prompt_frame_enabled false
tide_right_prompt_items status cmd_duration context jobs direnv node virtual_env rustc java php pulumi chruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir
tide_right_prompt_items status cmd_duration context jobs direnv node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig
tide_right_prompt_prefix ' '
tide_right_prompt_separator_diff_color ' '
tide_right_prompt_separator_same_color ' '
tide_right_prompt_suffix ''
tide_ruby_bg_color normal
tide_ruby_color B31209
tide_rustc_bg_color normal
tide_rustc_color F74C00
tide_rustc_icon
tide_shlvl_bg_color normal
tide_shlvl_color d78700
tide_shlvl_icon
tide_shlvl_threshold 1
tide_status_bg_color normal
tide_status_bg_color_failure normal
tide_status_color $_tide_color_dark_green
tide_status_color_failure D70000
tide_status_icon
tide_status_icon_failure
tide_terraform_bg_color normal
tide_terraform_color 844FBA
tide_terraform_icon
tide_time_bg_color normal
tide_time_color 5F8787
tide_time_format %T
tide_toolbox_bg_color normal
tide_toolbox_color 613583
tide_toolbox_icon
tide_vi_mode_bg_color_default normal
tide_vi_mode_bg_color_insert normal
tide_vi_mode_bg_color_replace normal
@@ -142,10 +112,5 @@ tide_vi_mode_color_default 949494
tide_vi_mode_color_insert 87AFAF
tide_vi_mode_color_replace 87AF87
tide_vi_mode_color_visual FF8700
tide_vi_mode_icon_default D
tide_vi_mode_icon_insert I
tide_vi_mode_icon_replace R
tide_vi_mode_icon_visual V
tide_virtual_env_bg_color normal
tide_virtual_env_color 00AFAF
tide_virtual_env_icon
tide_zig_bg_color normal
tide_zig_color F7A41D

View File

@@ -2,8 +2,6 @@ tide_aws_bg_color normal
tide_aws_color yellow
tide_character_color brgreen
tide_character_color_failure brred
tide_chruby_bg_color normal
tide_chruby_color red
tide_cmd_duration_bg_color normal
tide_cmd_duration_color brblack
tide_context_bg_color normal
@@ -61,6 +59,10 @@ tide_pwd_bg_color normal
tide_pwd_color_anchors brcyan
tide_pwd_color_dirs cyan
tide_pwd_color_truncated_dirs magenta
tide_python_bg_color normal
tide_python_color cyan
tide_ruby_bg_color normal
tide_ruby_color red
tide_rustc_bg_color normal
tide_rustc_color red
tide_shlvl_bg_color normal
@@ -83,5 +85,5 @@ tide_vi_mode_color_default white
tide_vi_mode_color_insert cyan
tide_vi_mode_color_replace green
tide_vi_mode_color_visual yellow
tide_virtual_env_bg_color normal
tide_virtual_env_color cyan
tide_zig_bg_color normal
tide_zig_color yellow

View File

@@ -1,19 +1,10 @@
tide_aws_bg_color FF9900
tide_aws_color 232F3E
tide_aws_icon
tide_character_color $_tide_color_green
tide_character_color_failure FF0000
tide_character_icon
tide_character_vi_icon_default
tide_character_vi_icon_replace
tide_character_vi_icon_visual V
tide_chruby_bg_color B31209
tide_chruby_color 000000
tide_chruby_icon
tide_cmd_duration_bg_color C4A000
tide_cmd_duration_color 000000
tide_cmd_duration_decimals 0
tide_cmd_duration_icon
tide_cmd_duration_threshold 3000
tide_context_always_display false
tide_context_bg_color 444444
@@ -23,25 +14,19 @@ tide_context_color_ssh D7AF87
tide_context_hostname_parts 1
tide_crystal_bg_color FFFFFF
tide_crystal_color 000000
tide_crystal_icon
tide_direnv_bg_color $_tide_color_gold
tide_direnv_bg_color_denied FF0000
tide_direnv_color 000000
tide_direnv_color_denied 000000
tide_direnv_icon
tide_distrobox_bg_color FF00FF
tide_distrobox_color 000000
tide_distrobox_icon
tide_docker_bg_color 2496ED
tide_docker_color 000000
tide_docker_default_contexts default colima
tide_docker_icon
tide_elixir_bg_color 4E2A8E
tide_elixir_color 000000
tide_elixir_icon
tide_gcloud_bg_color 4285F4
tide_gcloud_color 000000
tide_gcloud_icon
tide_git_bg_color 4E9A06
tide_git_bg_color_unstable C4A000
tide_git_bg_color_urgent CC0000
@@ -53,21 +38,17 @@ tide_git_color_staged 000000
tide_git_color_stash 000000
tide_git_color_untracked 000000
tide_git_color_upstream 000000
tide_git_icon
tide_git_truncation_length 24
tide_git_truncation_strategy
tide_go_bg_color 00ACD7
tide_go_color 000000
tide_go_icon
tide_java_bg_color ED8B00
tide_java_color 000000
tide_java_icon
tide_jobs_bg_color 444444
tide_jobs_color 4E9A06
tide_jobs_icon
tide_jobs_number_threshold 1000
tide_kubectl_bg_color 326CE5
tide_kubectl_color 000000
tide_kubectl_icon
tide_left_prompt_frame_enabled true
tide_left_prompt_items pwd git newline
tide_left_prompt_prefix ''
@@ -76,64 +57,53 @@ tide_left_prompt_separator_same_color 
tide_left_prompt_suffix
tide_nix_shell_bg_color 7EBAE4
tide_nix_shell_color 000000
tide_nix_shell_icon
tide_node_bg_color 44883E
tide_node_color 000000
tide_node_icon
tide_os_bg_color $os_branding_bg_color
tide_os_color $os_branding_color
tide_os_icon $os_branding_icon
tide_php_bg_color 617CBE
tide_php_color 000000
tide_php_icon
tide_private_mode_bg_color F1F3F4
tide_private_mode_color 000000
tide_private_mode_icon
tide_prompt_add_newline_before true
tide_prompt_color_frame_and_connection 6C6C6C
tide_prompt_color_separator_same_color 949494
tide_prompt_icon_connection ' '
tide_prompt_min_cols 34
tide_prompt_pad_items true
tide_prompt_transient_enabled false
tide_pulumi_bg_color F7BF2A
tide_pulumi_color 000000
tide_pulumi_icon ''
tide_pwd_bg_color 3465A4
tide_pwd_color_anchors E4E4E4
tide_pwd_color_dirs E4E4E4
tide_pwd_color_truncated_dirs BCBCBC
tide_pwd_icon
tide_pwd_icon_home
tide_pwd_icon_unwritable
tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform Cargo.toml composer.json CVS go.mod package.json
tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform Cargo.toml composer.json CVS go.mod package.json build.zig
tide_python_bg_color 444444
tide_python_color 00AFAF
tide_right_prompt_frame_enabled true
tide_right_prompt_items status cmd_duration context jobs direnv node virtual_env rustc java php pulumi chruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir
tide_right_prompt_items status cmd_duration context jobs direnv node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig
tide_right_prompt_prefix
tide_right_prompt_separator_diff_color
tide_right_prompt_separator_same_color
tide_right_prompt_suffix ''
tide_ruby_bg_color B31209
tide_ruby_color 000000
tide_rustc_bg_color F74C00
tide_rustc_color 000000
tide_rustc_icon
tide_shlvl_bg_color 808000
tide_shlvl_color 000000
tide_shlvl_icon
tide_shlvl_threshold 1
tide_status_bg_color 2E3436
tide_status_bg_color_failure CC0000
tide_status_color 4E9A06
tide_status_color_failure FFFF00
tide_status_icon
tide_status_icon_failure
tide_terraform_bg_color 800080
tide_terraform_color 000000
tide_terraform_icon
tide_time_bg_color D3D7CF
tide_time_color 000000
tide_time_format %T
tide_toolbox_bg_color 613583
tide_toolbox_color 000000
tide_toolbox_icon
tide_vi_mode_bg_color_default 949494
tide_vi_mode_bg_color_insert 87AFAF
tide_vi_mode_bg_color_replace 87AF87
@@ -142,10 +112,5 @@ tide_vi_mode_color_default 000000
tide_vi_mode_color_insert 000000
tide_vi_mode_color_replace 000000
tide_vi_mode_color_visual 000000
tide_vi_mode_icon_default D
tide_vi_mode_icon_insert I
tide_vi_mode_icon_replace R
tide_vi_mode_icon_visual V
tide_virtual_env_bg_color 444444
tide_virtual_env_color 00AFAF
tide_virtual_env_icon
tide_zig_bg_color F7A41D
tide_zig_color 000000

View File

@@ -2,8 +2,6 @@ tide_aws_bg_color yellow
tide_aws_color brblack
tide_character_color brgreen
tide_character_color_failure brred
tide_chruby_bg_color red
tide_chruby_color black
tide_cmd_duration_bg_color yellow
tide_cmd_duration_color black
tide_context_bg_color brblack
@@ -61,6 +59,10 @@ tide_pwd_bg_color blue
tide_pwd_color_anchors brwhite
tide_pwd_color_dirs brwhite
tide_pwd_color_truncated_dirs white
tide_python_bg_color brblack
tide_python_color cyan
tide_ruby_bg_color red
tide_ruby_color black
tide_rustc_bg_color red
tide_rustc_color black
tide_shlvl_bg_color yellow
@@ -87,5 +89,5 @@ tide_vi_mode_icon_default D
tide_vi_mode_icon_insert I
tide_vi_mode_icon_replace R
tide_vi_mode_icon_visual V
tide_virtual_env_bg_color brblack
tide_virtual_env_color cyan
tide_zig_bg_color yellow
tide_zig_color black

View File

@@ -1,5 +1,8 @@
function _fake_tide_item_character
set_color $fake_tide_character_color
contains newline $fake_tide_left_prompt_items || echo -ns ' '
echo -ns $fake_tide_character_icon
if contains newline $fake_tide_left_prompt_items || set -q _configure_transient
echo -ns $fake_tide_character_icon
else
echo -ns ' '$fake_tide_character_icon
end
end

View File

@@ -0,0 +1,40 @@
tide_aws_icon# Actual aws glyph is harder to see
tide_character_icon
tide_character_vi_icon_default
tide_character_vi_icon_replace
tide_character_vi_icon_visual V
tide_cmd_duration_icon
tide_crystal_icon
tide_direnv_icon
tide_distrobox_icon 󰆧
tide_docker_icon
tide_elixir_icon
tide_gcloud_icon 󰊭 # Actual google cloud glyph is harder to see
tide_git_icon
tide_go_icon
tide_java_icon
tide_jobs_icon
tide_kubectl_icon 󱃾
tide_nix_shell_icon
tide_node_icon# Actual nodejs glyph is harder to see
tide_os_icon $os_branding_icon
tide_php_icon
tide_private_mode_icon 󰗹
tide_prompt_icon_connection ' '
tide_pulumi_icon
tide_pwd_icon
tide_pwd_icon_home
tide_pwd_icon_unwritable
tide_python_icon 󰌠
tide_ruby_icon
tide_rustc_icon
tide_shlvl_icon
tide_status_icon
tide_status_icon_failure
tide_terraform_icon 󱁢
tide_toolbox_icon
tide_vi_mode_icon_default D
tide_vi_mode_icon_insert I
tide_vi_mode_icon_replace R
tide_vi_mode_icon_visual V
tide_zig_icon