Fix bug with restarting configuration wizard

This commit is contained in:
Ilan Cosman 2021-07-17 14:33:31 -07:00
parent 3b237311b1
commit dc149a652c
3 changed files with 6 additions and 5 deletions

View File

@ -29,7 +29,7 @@ function _tide_sub_configure
end
function _next_choice -a nextChoice
set -q _tide_selected_option || return
set -q _tide_selected_option || return 0
set -l cmd (string split '/' $nextChoice)[2]
$cmd
end

View File

@ -9,11 +9,12 @@ function finish
_tide_menu
switch $_tide_selected_option
case y
set -e _tide_selected_option # Skip through all the _next_choices
_tide_finish
set $_tide_left_prompt_display_var
set $_tide_right_prompt_display_var
clear
end
__tide_on_fish_exit
clear
end
function _tide_finish

View File

@ -1,7 +1,7 @@
# RUN: %fish %s
function _jobs -a jobs
set -lx _tide_has_jobs $jobs
set -lx _tide_jobs_status $jobs
_tide_decolor (_tide_item_jobs)
end