From 3a60a36cc9f5244c4754e5c74366bea9893e59e7 Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Tue, 28 Dec 2021 16:05:27 -0800 Subject: [PATCH] Work --- functions/tide/configure/configs/all/all.fish | 45 +++++ .../tide/configure/configs/all/meta.fish | 40 +++++ functions/tide/configure/configs/classic.fish | 155 +++++++----------- functions/tide/configure/configs/lean.fish | 99 +++-------- functions/tide/configure/configs/rainbow.fish | 155 +++++++----------- 5 files changed, 222 insertions(+), 272 deletions(-) create mode 100644 functions/tide/configure/configs/all/all.fish create mode 100644 functions/tide/configure/configs/all/meta.fish diff --git a/functions/tide/configure/configs/all/all.fish b/functions/tide/configure/configs/all/all.fish new file mode 100644 index 0000000..fd22def --- /dev/null +++ b/functions/tide/configure/configs/all/all.fish @@ -0,0 +1,45 @@ +tide_character_color $_light_green +tide_character_color_failure $_light_red +tide_character_icon ❯ +tide_character_vi_icon_default ❮ +tide_character_vi_icon_replace ▶ +tide_character_vi_icon_visual V +tide_chruby_icon  +tide_cmd_duration_decimals 0 +tide_cmd_duration_icon +tide_cmd_duration_threshold 3000 +tide_context_always_display false +tide_context_color_default $_ssh +tide_context_color_root $_gold +tide_context_color_ssh $_ssh +tide_git_icon +tide_git_truncation_length 24 +tide_go_icon  +tide_jobs_icon  +tide_kubectl_icon ⎈ +tide_left_prompt_prefix '' +tide_node_icon ⬢ +tide_os_icon (_tide_detect_os) +tide_php_icon  +tide_private_mode_icon 﫸 +tide_prompt_add_newline_before true +tide_prompt_color_frame_and_connection $_gray +tide_prompt_color_separator_same_color $_light_gray +tide_prompt_icon_connection ' ' +tide_prompt_min_cols 26 +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_right_prompt_items status cmd_duration context jobs node virtual_env rustc php chruby go kubectl toolbox terraform +tide_right_prompt_suffix '' +tide_rustc_icon  +tide_shlvl_icon  +tide_shlvl_threshold 1 +tide_status_color $_green +tide_status_icon ✔ +tide_status_icon_failure ✘ +tide_terraform_icon +tide_time_format %T +tide_toolbox_icon ⬢ +tide_virtual_env_icon  diff --git a/functions/tide/configure/configs/all/meta.fish b/functions/tide/configure/configs/all/meta.fish new file mode 100644 index 0000000..1d6a283 --- /dev/null +++ b/functions/tide/configure/configs/all/meta.fish @@ -0,0 +1,40 @@ +_almost_white_gray BCBCBC +_bluish_grayish 5F8787 +_chruby B31209 +_dark_blue 0087AF +_dark_gray 444444 +_dark_green 008000 +_dark_yellowish_gray 87875F +_deep_blue 000080 +_go 00ACD7 +_gold D7AF00 +_gray 6C6C6C +_green 5FAF00 +_kubectl 326CE5 +_leafy_green 87AF00 +_light_blue 00AFFF +_light_gray 949494 +_light_green 5FD700 +_light_red FF0000 +_node 44883E +_ochre 808000 +_orange D78700 +_php 617CBE +_pure_white FFFFFF +_rainbow_fg 000000 +_rustc F74C00 +_shlvl EEEEEE +_slightly_dark_red D70000 +_ssh D7AF87 +_subtle_offwhite EEEEEE +_subtle_offwhite_slightly_different E4E4E4 +_tango_black 2E3436 +_tango_blue 3465A4 +_tango_white D3D7CF +_tango_yellow C4A000 +_terraform 844FBA +_toolbox 613583 +_violet 8787AF +_violety_blue 5F87D7 +_virtual_env 00AFAF +_yellow FFFF00 \ No newline at end of file diff --git a/functions/tide/configure/configs/classic.fish b/functions/tide/configure/configs/classic.fish index dd77af2..2418cb7 100644 --- a/functions/tide/configure/configs/classic.fish +++ b/functions/tide/configure/configs/classic.fish @@ -1,113 +1,68 @@ -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 -tide_context_color_default D7AF87 -tide_context_color_root $_tide_color_gold -tide_context_color_ssh D7AF87 -tide_git_bg_color 444444 -tide_git_bg_color_unstable 444444 -tide_git_bg_color_urgent 444444 -tide_git_color_branch $_tide_color_green -tide_git_color_conflicted FF0000 -tide_git_color_dirty $_tide_color_gold -tide_git_color_operation FF0000 -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_go_bg_color 444444 -tide_go_color 00ACD7 -tide_go_icon  -tide_jobs_bg_color 444444 -tide_jobs_color $_tide_color_dark_green -tide_jobs_icon  -tide_kubectl_bg_color 444444 -tide_kubectl_color 326CE5 -tide_kubectl_icon ⎈ +tide_chruby_bg_color $_dark_gray +tide_chruby_color $_chruby +tide_cmd_duration_bg_color $_dark_gray +tide_cmd_duration_color $_dark_yellowish_gray +tide_context_bg_color $_dark_gray +tide_git_bg_color $_dark_gray +tide_git_bg_color_unstable $_dark_gray +tide_git_bg_color_urgent $_dark_gray +tide_git_color_branch $_light_green +tide_git_color_conflicted $_light_red +tide_git_color_dirty $_gold +tide_git_color_operation $_light_red +tide_git_color_staged $_gold +tide_git_color_stash $_light_green +tide_git_color_untracked $_light_blue +tide_git_color_upstream $_light_green +tide_go_bg_color $_dark_gray +tide_go_color $_go +tide_jobs_bg_color $_dark_gray +tide_jobs_color $_green +tide_kubectl_bg_color $_dark_gray +tide_kubectl_color $_kubectl tide_left_prompt_frame_enabled true tide_left_prompt_items pwd git newline -tide_left_prompt_prefix '' tide_left_prompt_separator_diff_color  tide_left_prompt_separator_same_color  tide_left_prompt_suffix  -tide_node_bg_color 444444 -tide_node_color 44883E -tide_node_icon ⬢ -tide_os_bg_color 444444 -tide_os_color EEEEEE -tide_os_icon (_tide_detect_os) -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 26 +tide_node_bg_color $_dark_gray +tide_node_color $_node +tide_os_bg_color $_dark_gray +tide_os_color $_subtle_offwhite +tide_php_bg_color $_dark_gray +tide_php_color $_php +tide_private_mode_bg_color $_dark_gray +tide_private_mode_color $_pure_white tide_prompt_pad_items true -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_bg_color $_dark_gray +tide_pwd_color_anchors $_light_blue +tide_pwd_color_dirs $_dark_blue +tide_pwd_color_truncated_dirs $_violet tide_right_prompt_frame_enabled true -tide_right_prompt_items status cmd_duration context jobs node virtual_env rustc php chruby go kubectl toolbox terraform vi_mode tide_right_prompt_prefix  tide_right_prompt_separator_diff_color  tide_right_prompt_separator_same_color  -tide_right_prompt_suffix '' -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_replace 444444 -tide_vi_mode_bg_color_visual 444444 -tide_vi_mode_color_default 87af00 -tide_vi_mode_color_replace d78700 -tide_vi_mode_color_visual 5f87d7 +tide_rustc_bg_color $_dark_gray +tide_rustc_color $_rustc +tide_shlvl_bg_color $_dark_gray +tide_shlvl_color $_shlvl +tide_status_bg_color $_dark_gray +tide_status_bg_color_failure $_dark_gray +tide_status_color_failure $_slightly_dark_red +tide_terraform_bg_color $_dark_gray +tide_terraform_color $_terraform +tide_time_bg_color $_dark_gray +tide_time_color $_bluish_grayish +tide_toolbox_bg_color $_dark_gray +tide_toolbox_color $_toolbox +tide_vi_mode_bg_color_default $_dark_gray +tide_vi_mode_bg_color_replace $_dark_gray +tide_vi_mode_bg_color_visual $_dark_gray +tide_vi_mode_color_default $_leafy_green +tide_vi_mode_color_replace $_orange +tide_vi_mode_color_visual $_violety_blue tide_vi_mode_icon_default DEFAULT tide_vi_mode_icon_replace REPLACE tide_vi_mode_icon_visual VISUAL -tide_virtual_env_bg_color 444444 -tide_virtual_env_color 00AFAF -tide_virtual_env_icon  +tide_virtual_env_bg_color $_dark_gray +tide_virtual_env_color $_virtual_env diff --git a/functions/tide/configure/configs/lean.fish b/functions/tide/configure/configs/lean.fish index 230ba26..23c83a2 100644 --- a/functions/tide/configure/configs/lean.fish +++ b/functions/tide/configure/configs/lean.fish @@ -1,104 +1,60 @@ -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_chruby_color $_chruby 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_cmd_duration_color $_dark_yellowish_gray tide_context_bg_color normal -tide_context_color_default D7AF87 -tide_context_color_root $_tide_color_gold -tide_context_color_ssh D7AF87 tide_git_bg_color normal tide_git_bg_color_unstable normal tide_git_bg_color_urgent normal -tide_git_color_branch $_tide_color_green -tide_git_color_conflicted FF0000 -tide_git_color_dirty $_tide_color_gold -tide_git_color_operation FF0000 -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_color_branch $_light_green +tide_git_color_conflicted $_light_red +tide_git_color_dirty $_gold +tide_git_color_operation $_light_red +tide_git_color_staged $_gold +tide_git_color_stash $_light_green +tide_git_color_untracked $_light_blue +tide_git_color_upstream $_light_green tide_go_bg_color normal -tide_go_color 00ACD7 -tide_go_icon  +tide_go_color $_go tide_jobs_bg_color normal -tide_jobs_color $_tide_color_dark_green -tide_jobs_icon  +tide_jobs_color $_green tide_kubectl_bg_color normal -tide_kubectl_color 326CE5 -tide_kubectl_icon ⎈ +tide_kubectl_color $_kubectl tide_left_prompt_frame_enabled false tide_left_prompt_items pwd git newline character -tide_left_prompt_prefix '' tide_left_prompt_separator_diff_color ' ' tide_left_prompt_separator_same_color ' ' tide_left_prompt_suffix ' ' tide_node_bg_color normal -tide_node_color 44883E -tide_node_icon ⬢ +tide_node_color $_node tide_os_bg_color normal -tide_os_color normal -tide_os_icon (_tide_detect_os) +tide_os_color $_subtle_offwhite tide_php_bg_color normal -tide_php_color 617CBE -tide_php_icon  +tide_php_color $_php 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 26 +tide_private_mode_color $_pure_white tide_prompt_pad_items false 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_color_anchors $_light_blue +tide_pwd_color_dirs $_dark_blue +tide_pwd_color_truncated_dirs $_violet tide_right_prompt_frame_enabled false -tide_right_prompt_items status cmd_duration context jobs node virtual_env rustc php chruby go kubectl toolbox terraform tide_right_prompt_prefix ' ' tide_right_prompt_separator_diff_color ' ' tide_right_prompt_separator_same_color ' ' -tide_right_prompt_suffix '' tide_rustc_bg_color normal -tide_rustc_color F74C00 -tide_rustc_icon  +tide_rustc_color $_rustc tide_shlvl_bg_color normal -tide_shlvl_color d78700 -tide_shlvl_icon  -tide_shlvl_threshold 1 +tide_shlvl_color $_shlvl 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_status_color_failure $_slightly_dark_red tide_terraform_bg_color normal -tide_terraform_color 844FBA -tide_terraform_icon +tide_terraform_color $_terraform tide_time_bg_color normal -tide_time_color 5F8787 -tide_time_format %T +tide_time_color $_bluish_grayish tide_toolbox_bg_color normal -tide_toolbox_color 613583 -tide_toolbox_icon ⬢ +tide_toolbox_color $_toolbox tide_vi_mode_bg_color_default tide_vi_mode_bg_color_replace tide_vi_mode_bg_color_visual @@ -109,5 +65,4 @@ tide_vi_mode_icon_default tide_vi_mode_icon_replace tide_vi_mode_icon_visual tide_virtual_env_bg_color normal -tide_virtual_env_color 00AFAF -tide_virtual_env_icon  +tide_virtual_env_color $_virtual_env diff --git a/functions/tide/configure/configs/rainbow.fish b/functions/tide/configure/configs/rainbow.fish index 55fefdb..ea185c1 100644 --- a/functions/tide/configure/configs/rainbow.fish +++ b/functions/tide/configure/configs/rainbow.fish @@ -1,113 +1,68 @@ -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 -tide_context_color_default D7AF87 -tide_context_color_root $_tide_color_gold -tide_context_color_ssh D7AF87 -tide_git_bg_color 4E9A06 -tide_git_bg_color_unstable C4A000 -tide_git_bg_color_urgent CC0000 -tide_git_color_branch 000000 -tide_git_color_conflicted 000000 -tide_git_color_dirty 000000 -tide_git_color_operation 000000 -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_go_bg_color 00ACD7 -tide_go_color 000000 -tide_go_icon  -tide_jobs_bg_color 444444 -tide_jobs_color 4E9A06 -tide_jobs_icon  -tide_kubectl_bg_color 326CE5 -tide_kubectl_color 000000 -tide_kubectl_icon ⎈ +tide_chruby_bg_color $_chruby +tide_chruby_color $_rainbow_fg +tide_cmd_duration_bg_color $_tango_yellow +tide_cmd_duration_color $_rainbow_fg +tide_context_bg_color $_dark_gray +tide_git_bg_color $_green +tide_git_bg_color_unstable $_tango_yellow +tide_git_bg_color_urgent $_dark_red +tide_git_color_branch $_rainbow_fg +tide_git_color_conflicted $_rainbow_fg +tide_git_color_dirty $_rainbow_fg +tide_git_color_operation $_rainbow_fg +tide_git_color_staged $_rainbow_fg +tide_git_color_stash $_rainbow_fg +tide_git_color_untracked $_rainbow_fg +tide_git_color_upstream $_rainbow_fg +tide_go_bg_color $_go +tide_go_color $_rainbow_fg +tide_jobs_bg_color $_dark_gray +tide_jobs_color $_green +tide_kubectl_bg_color $_kubectl +tide_kubectl_color $_rainbow_fg tide_left_prompt_frame_enabled true tide_left_prompt_items pwd git newline -tide_left_prompt_prefix '' tide_left_prompt_separator_diff_color  tide_left_prompt_separator_same_color  tide_left_prompt_suffix  -tide_node_bg_color 44883E -tide_node_color 000000 -tide_node_icon ⬢ -tide_os_bg_color CED7CF -tide_os_color 080808 -tide_os_icon (_tide_detect_os) -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 26 +tide_node_bg_color $_node +tide_node_color $_rainbow_fg +tide_os_bg_color $_subtle_offwhite +tide_os_color $_rainbow_fg +tide_php_bg_color $_php +tide_php_color $_rainbow_fg +tide_private_mode_bg_color $_subtle_offwhite +tide_private_mode_color $_rainbow_fg tide_prompt_pad_items true -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_bg_color $_tango_blue +tide_pwd_color_anchors $_subtle_offwhite_slightly_different +tide_pwd_color_dirs $_subtle_offwhite_slightly_different +tide_pwd_color_truncated_dirs $_almost_white_gray tide_right_prompt_frame_enabled true -tide_right_prompt_items status cmd_duration context jobs node virtual_env rustc php chruby go kubectl toolbox terraform vi_mode tide_right_prompt_prefix  tide_right_prompt_separator_diff_color  tide_right_prompt_separator_same_color  -tide_right_prompt_suffix '' -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 008000 -tide_vi_mode_bg_color_replace 808000 -tide_vi_mode_bg_color_visual 000080 -tide_vi_mode_color_default 000000 -tide_vi_mode_color_replace 000000 -tide_vi_mode_color_visual 000000 +tide_rustc_bg_color $_rustc +tide_rustc_color $_rainbow_fg +tide_shlvl_bg_color $_shlvl +tide_shlvl_color $_rainbow_fg +tide_status_bg_color $_tango_black +tide_status_bg_color_failure $_dark_red +tide_status_color_failure $_yellow +tide_terraform_bg_color $_terraform +tide_terraform_color $_rainbow_fg +tide_time_bg_color $_tango_white +tide_time_color $_rainbow_fg +tide_toolbox_bg_color $_toolbox +tide_toolbox_color $_rainbow_fg +tide_vi_mode_bg_color_default $_dark_green +tide_vi_mode_bg_color_replace $_ochre +tide_vi_mode_bg_color_visual $_deep_blue +tide_vi_mode_color_default $_rainbow_fg +tide_vi_mode_color_replace $_rainbow_fg +tide_vi_mode_color_visual $_rainbow_fg tide_vi_mode_icon_default DEFAULT tide_vi_mode_icon_replace REPLACE tide_vi_mode_icon_visual VISUAL -tide_virtual_env_bg_color 444444 -tide_virtual_env_color 00AFAF -tide_virtual_env_icon  +tide_virtual_env_bg_color $_virtual_env +tide_virtual_env_color $_rainbow_fg