Clean up extra code in configure

This commit is contained in:
Ilan Cosman 2020-07-12 08:44:53 -07:00
parent e6d2c619bb
commit dc363abc2e

View File

@ -17,30 +17,9 @@ function tide_configure
source "$promptItem"
end
_begin
end
function _begin
_set_defaults
_next_choice 'all/style'
end
function _set_defaults
# if test $fake_lines -ge 26
# set -g fake_tide_print_newline_before_prompt true
# else
# set -g fake_tide_print_newline_before_prompt false
# end
# set -g fake_tide_left_prompt_items 'pwd' 'git_prompt' 'newline' 'prompt_char'
# set -g fake_tide_right_prompt_items 'cmd_duration' 'time'
# set -g fake_tide_time_format ''
# set -g fake_tide_time_color 5F8787
# set -g fake_tide_prompt_connection_icon ''
# set -g fake_tide_prompt_connection_color 6C6C6C
end
function _next_choice -a nextChoice
source "$_tide_dir/configure/choices/$nextChoice.fish"
set -l cmd (string split '/' $nextChoice)[2]