mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 12:03:48 +03:00
Add toolbox item (closes #211)
This commit is contained in:
parent
5e614e460a
commit
38466cf6a1
3
functions/_tide_item_toolbox.fish
Normal file
3
functions/_tide_item_toolbox.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function _tide_item_toolbox
|
||||
test -e /run/.toolboxenv && _tide_print_item toolbox $tide_toolbox_icon
|
||||
end
|
@ -1,6 +1,6 @@
|
||||
function _tide_remove_unusable_items
|
||||
# Remove tool-specific items for tools the machine doesn't have installed
|
||||
for item in chruby git go kubectl node php rustc terraform virtual_env
|
||||
for item in chruby git go kubectl node php rustc terraform toolbox virtual_env
|
||||
set -l cli_names $item
|
||||
switch $item
|
||||
case virtual_env
|
||||
|
@ -70,7 +70,7 @@ 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_frame_enabled true
|
||||
tide_right_prompt_items status cmd_duration context jobs node virtual_env rustc php chruby go kubectl terraform vi_mode
|
||||
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 ''
|
||||
@ -94,6 +94,9 @@ 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
|
||||
|
@ -51,6 +51,8 @@ tide_terraform_bg_color black
|
||||
tide_terraform_color magenta
|
||||
tide_time_bg_color black
|
||||
tide_time_color brblack
|
||||
tide_toolbox_bg_color black
|
||||
tide_toolbox_color magenta
|
||||
tide_vi_mode_bg_color_default black
|
||||
tide_vi_mode_bg_color_replace black
|
||||
tide_vi_mode_bg_color_visual black
|
||||
|
@ -70,7 +70,7 @@ 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_frame_enabled false
|
||||
tide_right_prompt_items status cmd_duration context jobs node virtual_env rustc php chruby go kubectl terraform
|
||||
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 ' '
|
||||
@ -94,6 +94,9 @@ 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
|
||||
tide_vi_mode_bg_color_replace
|
||||
tide_vi_mode_bg_color_visual
|
||||
|
@ -51,6 +51,8 @@ tide_terraform_bg_color normal
|
||||
tide_terraform_color magenta
|
||||
tide_time_bg_color normal
|
||||
tide_time_color brblack
|
||||
tide_toolbox_bg_color normal
|
||||
tide_toolbox_color magenta
|
||||
tide_vi_mode_bg_color_default normal
|
||||
tide_vi_mode_bg_color_replace normal
|
||||
tide_vi_mode_bg_color_visual normal
|
||||
|
@ -70,7 +70,7 @@ 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_frame_enabled true
|
||||
tide_right_prompt_items status cmd_duration context jobs node virtual_env rustc php chruby go kubectl terraform vi_mode
|
||||
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 ''
|
||||
@ -94,6 +94,9 @@ 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
|
||||
|
@ -51,6 +51,8 @@ tide_terraform_bg_color magenta
|
||||
tide_terraform_color black
|
||||
tide_time_bg_color white
|
||||
tide_time_color black
|
||||
tide_toolbox_bg_color magenta
|
||||
tide_toolbox_color black
|
||||
tide_vi_mode_bg_color_default green
|
||||
tide_vi_mode_bg_color_replace yellow
|
||||
tide_vi_mode_bg_color_visual blue
|
||||
|
Loading…
Reference in New Issue
Block a user