init .config git tracking
This commit is contained in:
commit
114c330966
151 changed files with 4688 additions and 0 deletions
33
config/fish/functions/tide/configure/choices/all/icons.fish
Normal file
33
config/fish/functions/tide/configure/choices/all/icons.fish
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
function icons
|
||||
_tide_title Icons
|
||||
|
||||
_tide_option 1 'Few icons'
|
||||
_tide_display_prompt
|
||||
|
||||
_tide_option 2 'Many icons'
|
||||
_enable_icons
|
||||
_tide_display_prompt
|
||||
|
||||
_tide_menu (status function)
|
||||
switch $_tide_selected_option
|
||||
case 'Few icons'
|
||||
_disable_icons
|
||||
end
|
||||
_next_choice all/transient
|
||||
end
|
||||
|
||||
function _enable_icons
|
||||
set -p fake_tide_left_prompt_items os
|
||||
set -g fake_tide_pwd_icon
|
||||
set -g fake_tide_pwd_icon_home
|
||||
set -g fake_tide_cmd_duration_icon
|
||||
set -g fake_tide_git_icon
|
||||
end
|
||||
|
||||
function _disable_icons
|
||||
_tide_find_and_remove os fake_tide_left_prompt_items
|
||||
set fake_tide_pwd_icon
|
||||
set fake_tide_pwd_icon_home
|
||||
set fake_tide_cmd_duration_icon
|
||||
set fake_tide_git_icon
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue