|
1 | 1 | # Terminal prompt: https://github.com/IlanCosman/tide |
2 | 2 | # |
3 | 3 | # - Icons: https://www.nerdfonts.com/cheat-sheet |
4 | | -# - To update: set -L | string replace -rf "^tide" "set -gx tide" >~/.config/fish/conf.d/tide.fish |
| 4 | +# - To update: set -L | string replace -rf "^tide" "set -g tide" >~/.config/fish/conf.d/tide.fish |
5 | 5 |
|
6 | 6 | # Migrate off legacy universal variables |
7 | 7 | set -Uq tide_os_icon && set -Ue (set -U --names | string match --entire -r '^tide|^VIRTUAL_ENV_DISABLE_PROMPT$') |
8 | 8 |
|
9 | | -fish_config theme choose classic |
10 | | -set -gx tide_aws_bg_color normal |
11 | | -set -gx tide_aws_color FF9900 |
12 | | -set -gx tide_aws_icon |
13 | | -set -gx tide_bun_bg_color normal |
14 | | -set -gx tide_bun_color FBF0DF |
15 | | -set -gx tide_bun_icon |
16 | | -set -gx tide_character_color 5FD700 |
17 | | -set -gx tide_character_color_failure FF0000 |
18 | | -set -gx tide_character_icon ❯ |
19 | | -set -gx tide_character_vi_icon_default ❮ |
20 | | -set -gx tide_character_vi_icon_replace ▶ |
21 | | -set -gx tide_character_vi_icon_visual V |
22 | | -set -gx tide_cmd_duration_bg_color normal |
23 | | -set -gx tide_cmd_duration_color 87875F |
24 | | -set -gx tide_cmd_duration_decimals 0 |
25 | | -set -gx tide_cmd_duration_icon |
26 | | -set -gx tide_cmd_duration_threshold 3000 |
27 | | -set -gx tide_context_always_display false |
28 | | -set -gx tide_context_bg_color normal |
29 | | -set -gx tide_context_color_default D7AF87 |
30 | | -set -gx tide_context_color_root D7AF00 |
31 | | -set -gx tide_context_color_ssh D7AF87 |
32 | | -set -gx tide_context_hostname_parts 1 |
33 | | -set -gx tide_crystal_bg_color normal |
34 | | -set -gx tide_crystal_color FFFFFF |
35 | | -set -gx tide_crystal_icon |
36 | | -set -gx tide_direnv_bg_color normal |
37 | | -set -gx tide_direnv_bg_color_denied normal |
38 | | -set -gx tide_direnv_color D7AF00 |
39 | | -set -gx tide_direnv_color_denied FF0000 |
40 | | -set -gx tide_direnv_icon ▼ |
41 | | -set -gx tide_distrobox_bg_color normal |
42 | | -set -gx tide_distrobox_color FF00FF |
43 | | -set -gx tide_distrobox_icon |
44 | | -set -gx tide_docker_bg_color normal |
45 | | -set -gx tide_docker_color 2496ED |
46 | | -set -gx tide_docker_default_contexts default colima |
47 | | -set -gx tide_docker_icon |
48 | | -set -gx tide_elixir_bg_color normal |
49 | | -set -gx tide_elixir_color 4E2A8E |
50 | | -set -gx tide_elixir_icon |
51 | | -set -gx tide_gcloud_bg_color normal |
52 | | -set -gx tide_gcloud_color 4285F4 |
53 | | -set -gx tide_gcloud_icon |
54 | | -set -gx tide_git_bg_color normal |
55 | | -set -gx tide_git_bg_color_unstable normal |
56 | | -set -gx tide_git_bg_color_urgent normal |
57 | | -set -gx tide_git_color_branch 5FD700 |
58 | | -set -gx tide_git_color_conflicted FF0000 |
59 | | -set -gx tide_git_color_dirty D7AF00 |
60 | | -set -gx tide_git_color_operation FF0000 |
61 | | -set -gx tide_git_color_staged D7AF00 |
62 | | -set -gx tide_git_color_stash 5FD700 |
63 | | -set -gx tide_git_color_untracked 00AFFF |
64 | | -set -gx tide_git_color_upstream 5FD700 |
65 | | -set -gx tide_git_icon |
66 | | -set -gx tide_git_truncation_length 24 |
67 | | -set -gx tide_git_truncation_strategy |
68 | | -set -gx tide_go_bg_color normal |
69 | | -set -gx tide_go_color 00ACD7 |
70 | | -set -gx tide_go_icon |
71 | | -set -gx tide_java_bg_color normal |
72 | | -set -gx tide_java_color ED8B00 |
73 | | -set -gx tide_java_icon |
74 | | -set -gx tide_jobs_bg_color normal |
75 | | -set -gx tide_jobs_color 5FAF00 |
76 | | -set -gx tide_jobs_icon |
77 | | -set -gx tide_jobs_number_threshold 1000 |
78 | | -set -gx tide_kubectl_bg_color normal |
79 | | -set -gx tide_kubectl_color 326CE5 |
80 | | -set -gx tide_kubectl_icon |
81 | | -set -gx tide_left_prompt_frame_enabled false |
82 | | -set -gx tide_left_prompt_items pwd vcs newline character |
83 | | -set -gx tide_left_prompt_prefix |
84 | | -set -gx tide_left_prompt_separator_diff_color ' ' |
85 | | -set -gx tide_left_prompt_separator_same_color ' ' |
86 | | -set -gx tide_left_prompt_suffix ' ' |
87 | | -set -gx tide_nix_shell_bg_color normal |
88 | | -set -gx tide_nix_shell_color 7EBAE4 |
89 | | -set -gx tide_nix_shell_icon |
90 | | -set -gx tide_node_bg_color normal |
91 | | -set -gx tide_node_color 44883E |
92 | | -set -gx tide_node_icon |
93 | | -set -gx tide_os_bg_color normal |
94 | | -set -gx tide_os_color normal |
95 | | -set -gx tide_os_icon |
96 | | -set -gx tide_php_bg_color normal |
97 | | -set -gx tide_php_color 617CBE |
98 | | -set -gx tide_php_icon |
99 | | -set -gx tide_pkgx_bg_color normal |
100 | | -set -gx tide_pkgx_color cyan |
101 | | -set -gx tide_private_mode_bg_color normal |
102 | | -set -gx tide_private_mode_color FFFFFF |
103 | | -set -gx tide_private_mode_icon |
104 | | -set -gx tide_prompt_add_newline_before false |
105 | | -set -gx tide_prompt_color_frame_and_connection 6C6C6C |
106 | | -set -gx tide_prompt_color_separator_same_color 949494 |
107 | | -set -gx tide_prompt_icon_connection ' ' |
108 | | -set -gx tide_prompt_min_cols 34 |
109 | | -set -gx tide_prompt_pad_items false |
110 | | -set -gx tide_prompt_transient_enabled true |
111 | | -set -gx tide_pulumi_bg_color normal |
112 | | -set -gx tide_pulumi_color F7BF2A |
113 | | -set -gx tide_pulumi_icon |
114 | | -set -gx tide_pwd_bg_color normal |
115 | | -set -gx tide_pwd_color_anchors 00AFFF |
116 | | -set -gx tide_pwd_color_dirs 0087AF |
117 | | -set -gx tide_pwd_color_truncated_dirs 8787AF |
118 | | -set -gx tide_pwd_icon |
119 | | -set -gx tide_pwd_icon_home |
120 | | -set -gx tide_pwd_icon_unwritable |
121 | | -set -gx tide_pwd_markers '.bzr' '.citc' '.git' '.hg' '.jj' '.node-version' '.python-version' '.ruby-version' '.shorten_folder_marker' '.svn' '.terraform' 'Cargo.toml' 'composer.json' CVS 'go.mod' 'package.json' |
122 | | -set -gx tide_python_bg_color normal |
123 | | -set -gx tide_python_color 4584B6 |
124 | | -set -gx tide_python_icon |
125 | | -set -gx tide_right_prompt_frame_enabled false |
126 | | -set -gx tide_right_prompt_items status cmd_duration context jobs node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir pkgx direnv shlvl |
127 | | -set -gx tide_right_prompt_prefix ' ' |
128 | | -set -gx tide_right_prompt_separator_diff_color ' ' |
129 | | -set -gx tide_right_prompt_separator_same_color ' ' |
130 | | -set -gx tide_right_prompt_suffix ' ' |
131 | | -set -gx tide_ruby_bg_color normal |
132 | | -set -gx tide_ruby_color B31209 |
133 | | -set -gx tide_ruby_icon |
134 | | -set -gx tide_rustc_bg_color normal |
135 | | -set -gx tide_rustc_color F74C00 |
136 | | -set -gx tide_rustc_icon |
137 | | -set -gx tide_shlvl_bg_color normal |
138 | | -set -gx tide_shlvl_color d78700 |
139 | | -set -gx tide_shlvl_icon |
140 | | -set -gx tide_shlvl_threshold 1 |
| 9 | +status is-interactive && fish_config theme choose classic |
| 10 | +set -g tide_aws_bg_color normal |
| 11 | +set -g tide_aws_color FF9900 |
| 12 | +set -g tide_aws_icon |
| 13 | +set -g tide_bun_bg_color normal |
| 14 | +set -g tide_bun_color FBF0DF |
| 15 | +set -g tide_bun_icon |
| 16 | +set -g tide_character_color 5FD700 |
| 17 | +set -g tide_character_color_failure FF0000 |
| 18 | +set -g tide_character_icon ❯ |
| 19 | +set -g tide_character_vi_icon_default ❮ |
| 20 | +set -g tide_character_vi_icon_replace ▶ |
| 21 | +set -g tide_character_vi_icon_visual V |
| 22 | +set -g tide_cmd_duration_bg_color normal |
| 23 | +set -g tide_cmd_duration_color 87875F |
| 24 | +set -g tide_cmd_duration_decimals 0 |
| 25 | +set -g tide_cmd_duration_icon |
| 26 | +set -g tide_cmd_duration_threshold 3000 |
| 27 | +set -g tide_context_always_display false |
| 28 | +set -g tide_context_bg_color normal |
| 29 | +set -g tide_context_color_default D7AF87 |
| 30 | +set -g tide_context_color_root D7AF00 |
| 31 | +set -g tide_context_color_ssh D7AF87 |
| 32 | +set -g tide_context_hostname_parts 1 |
| 33 | +set -g tide_crystal_bg_color normal |
| 34 | +set -g tide_crystal_color FFFFFF |
| 35 | +set -g tide_crystal_icon |
| 36 | +set -g tide_direnv_bg_color normal |
| 37 | +set -g tide_direnv_bg_color_denied normal |
| 38 | +set -g tide_direnv_color D7AF00 |
| 39 | +set -g tide_direnv_color_denied FF0000 |
| 40 | +set -g tide_direnv_icon ▼ |
| 41 | +set -g tide_distrobox_bg_color normal |
| 42 | +set -g tide_distrobox_color FF00FF |
| 43 | +set -g tide_distrobox_icon |
| 44 | +set -g tide_docker_bg_color normal |
| 45 | +set -g tide_docker_color 2496ED |
| 46 | +set -g tide_docker_default_contexts default colima |
| 47 | +set -g tide_docker_icon |
| 48 | +set -g tide_elixir_bg_color normal |
| 49 | +set -g tide_elixir_color 4E2A8E |
| 50 | +set -g tide_elixir_icon |
| 51 | +set -g tide_gcloud_bg_color normal |
| 52 | +set -g tide_gcloud_color 4285F4 |
| 53 | +set -g tide_gcloud_icon |
| 54 | +set -g tide_git_bg_color normal |
| 55 | +set -g tide_git_bg_color_unstable normal |
| 56 | +set -g tide_git_bg_color_urgent normal |
| 57 | +set -g tide_git_color_branch 5FD700 |
| 58 | +set -g tide_git_color_conflicted FF0000 |
| 59 | +set -g tide_git_color_dirty D7AF00 |
| 60 | +set -g tide_git_color_operation FF0000 |
| 61 | +set -g tide_git_color_staged D7AF00 |
| 62 | +set -g tide_git_color_stash 5FD700 |
| 63 | +set -g tide_git_color_untracked 00AFFF |
| 64 | +set -g tide_git_color_upstream 5FD700 |
| 65 | +set -g tide_git_icon |
| 66 | +set -g tide_git_truncation_length 24 |
| 67 | +set -g tide_git_truncation_strategy |
| 68 | +set -g tide_go_bg_color normal |
| 69 | +set -g tide_go_color 00ACD7 |
| 70 | +set -g tide_go_icon |
| 71 | +set -g tide_java_bg_color normal |
| 72 | +set -g tide_java_color ED8B00 |
| 73 | +set -g tide_java_icon |
| 74 | +set -g tide_jobs_bg_color normal |
| 75 | +set -g tide_jobs_color 5FAF00 |
| 76 | +set -g tide_jobs_icon |
| 77 | +set -g tide_jobs_number_threshold 1000 |
| 78 | +set -g tide_kubectl_bg_color normal |
| 79 | +set -g tide_kubectl_color 326CE5 |
| 80 | +set -g tide_kubectl_icon |
| 81 | +set -g tide_left_prompt_frame_enabled false |
| 82 | +set -g tide_left_prompt_items pwd vcs newline character |
| 83 | +set -g tide_left_prompt_prefix |
| 84 | +set -g tide_left_prompt_separator_diff_color ' ' |
| 85 | +set -g tide_left_prompt_separator_same_color ' ' |
| 86 | +set -g tide_left_prompt_suffix ' ' |
| 87 | +set -g tide_nix_shell_bg_color normal |
| 88 | +set -g tide_nix_shell_color 7EBAE4 |
| 89 | +set -g tide_nix_shell_icon |
| 90 | +set -g tide_node_bg_color normal |
| 91 | +set -g tide_node_color 44883E |
| 92 | +set -g tide_node_icon |
| 93 | +set -g tide_os_bg_color normal |
| 94 | +set -g tide_os_color normal |
| 95 | +set -g tide_os_icon |
| 96 | +set -g tide_php_bg_color normal |
| 97 | +set -g tide_php_color 617CBE |
| 98 | +set -g tide_php_icon |
| 99 | +set -g tide_pkgx_bg_color normal |
| 100 | +set -g tide_pkgx_color cyan |
| 101 | +set -g tide_private_mode_bg_color normal |
| 102 | +set -g tide_private_mode_color FFFFFF |
| 103 | +set -g tide_private_mode_icon |
| 104 | +set -g tide_prompt_add_newline_before false |
| 105 | +set -g tide_prompt_color_frame_and_connection 6C6C6C |
| 106 | +set -g tide_prompt_color_separator_same_color 949494 |
| 107 | +set -g tide_prompt_icon_connection ' ' |
| 108 | +set -g tide_prompt_min_cols 34 |
| 109 | +set -g tide_prompt_pad_items false |
| 110 | +set -g tide_prompt_transient_enabled true |
| 111 | +set -g tide_pulumi_bg_color normal |
| 112 | +set -g tide_pulumi_color F7BF2A |
| 113 | +set -g tide_pulumi_icon |
| 114 | +set -g tide_pwd_bg_color normal |
| 115 | +set -g tide_pwd_color_anchors 00AFFF |
| 116 | +set -g tide_pwd_color_dirs 0087AF |
| 117 | +set -g tide_pwd_color_truncated_dirs 8787AF |
| 118 | +set -g tide_pwd_icon |
| 119 | +set -g tide_pwd_icon_home |
| 120 | +set -g tide_pwd_icon_unwritable |
| 121 | +set -g tide_pwd_markers '.bzr' '.citc' '.git' '.hg' '.jj' '.node-version' '.python-version' '.ruby-version' '.shorten_folder_marker' '.svn' '.terraform' 'Cargo.toml' 'composer.json' CVS 'go.mod' 'package.json' |
| 122 | +set -g tide_python_bg_color normal |
| 123 | +set -g tide_python_color 4584B6 |
| 124 | +set -g tide_python_icon |
| 125 | +set -g tide_right_prompt_frame_enabled false |
| 126 | +set -g tide_right_prompt_items status cmd_duration context jobs node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir pkgx direnv shlvl |
| 127 | +set -g tide_right_prompt_prefix ' ' |
| 128 | +set -g tide_right_prompt_separator_diff_color ' ' |
| 129 | +set -g tide_right_prompt_separator_same_color ' ' |
| 130 | +set -g tide_right_prompt_suffix ' ' |
| 131 | +set -g tide_ruby_bg_color normal |
| 132 | +set -g tide_ruby_color B31209 |
| 133 | +set -g tide_ruby_icon |
| 134 | +set -g tide_rustc_bg_color normal |
| 135 | +set -g tide_rustc_color F74C00 |
| 136 | +set -g tide_rustc_icon |
| 137 | +set -g tide_shlvl_bg_color normal |
| 138 | +set -g tide_shlvl_color d78700 |
| 139 | +set -g tide_shlvl_icon |
| 140 | +set -g tide_shlvl_threshold 1 |
141 | 141 | set -gx tide_show_gcloud_on gcloud |
142 | 142 | set -gx tide_show_kubectl_on kubectl helm kubens kubectx stern |
143 | | -set -gx tide_status_bg_color normal |
144 | | -set -gx tide_status_bg_color_failure normal |
145 | | -set -gx tide_status_color 5FAF00 |
146 | | -set -gx tide_status_color_failure D70000 |
147 | | -set -gx tide_status_icon ✔ |
148 | | -set -gx tide_status_icon_failure ✘ |
149 | | -set -gx tide_terraform_bg_color normal |
150 | | -set -gx tide_terraform_color 844FBA |
151 | | -set -gx tide_terraform_icon |
152 | | -set -gx tide_time_bg_color normal |
153 | | -set -gx tide_time_color 5F8787 |
154 | | -set -gx tide_time_format |
155 | | -set -gx tide_toolbox_bg_color normal |
156 | | -set -gx tide_toolbox_color 613583 |
157 | | -set -gx tide_toolbox_icon |
158 | | -set -gx tide_vi_mode_bg_color_default normal |
159 | | -set -gx tide_vi_mode_bg_color_insert normal |
160 | | -set -gx tide_vi_mode_bg_color_replace normal |
161 | | -set -gx tide_vi_mode_bg_color_visual normal |
162 | | -set -gx tide_vi_mode_color_default 949494 |
163 | | -set -gx tide_vi_mode_color_insert 87AFAF |
164 | | -set -gx tide_vi_mode_color_replace 87AF87 |
165 | | -set -gx tide_vi_mode_color_visual FF8700 |
166 | | -set -gx tide_vi_mode_icon_default D |
167 | | -set -gx tide_vi_mode_icon_insert I |
168 | | -set -gx tide_vi_mode_icon_replace R |
169 | | -set -gx tide_vi_mode_icon_visual V |
170 | | -set -gx tide_zig_bg_color normal |
171 | | -set -gx tide_zig_color F7A41D |
172 | | -set -gx tide_zig_icon |
| 143 | +set -g tide_status_bg_color normal |
| 144 | +set -g tide_status_bg_color_failure normal |
| 145 | +set -g tide_status_color 5FAF00 |
| 146 | +set -g tide_status_color_failure D70000 |
| 147 | +set -g tide_status_icon ✔ |
| 148 | +set -g tide_status_icon_failure ✘ |
| 149 | +set -g tide_terraform_bg_color normal |
| 150 | +set -g tide_terraform_color 844FBA |
| 151 | +set -g tide_terraform_icon |
| 152 | +set -g tide_time_bg_color normal |
| 153 | +set -g tide_time_color 5F8787 |
| 154 | +set -g tide_time_format |
| 155 | +set -g tide_toolbox_bg_color normal |
| 156 | +set -g tide_toolbox_color 613583 |
| 157 | +set -g tide_toolbox_icon |
| 158 | +set -g tide_vi_mode_bg_color_default normal |
| 159 | +set -g tide_vi_mode_bg_color_insert normal |
| 160 | +set -g tide_vi_mode_bg_color_replace normal |
| 161 | +set -g tide_vi_mode_bg_color_visual normal |
| 162 | +set -g tide_vi_mode_color_default 949494 |
| 163 | +set -g tide_vi_mode_color_insert 87AFAF |
| 164 | +set -g tide_vi_mode_color_replace 87AF87 |
| 165 | +set -g tide_vi_mode_color_visual FF8700 |
| 166 | +set -g tide_vi_mode_icon_default D |
| 167 | +set -g tide_vi_mode_icon_insert I |
| 168 | +set -g tide_vi_mode_icon_replace R |
| 169 | +set -g tide_vi_mode_icon_visual V |
| 170 | +set -g tide_zig_bg_color normal |
| 171 | +set -g tide_zig_color F7A41D |
| 172 | +set -g tide_zig_icon |
173 | 173 |
|
174 | 174 | if string match -q "$TERM_PROGRAM" vscode && status is-login |
175 | 175 | set -gx tide_shlvl_threshold "$SHLVL" |
|
0 commit comments