mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-29 22:33:05 +03:00
Fix bug with restarting configuration wizard
This commit is contained in:
parent
3b237311b1
commit
dc149a652c
@ -29,7 +29,7 @@ function _tide_sub_configure
|
|||||||
end
|
end
|
||||||
|
|
||||||
function _next_choice -a nextChoice
|
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]
|
set -l cmd (string split '/' $nextChoice)[2]
|
||||||
$cmd
|
$cmd
|
||||||
end
|
end
|
||||||
|
@ -9,11 +9,12 @@ function finish
|
|||||||
_tide_menu
|
_tide_menu
|
||||||
switch $_tide_selected_option
|
switch $_tide_selected_option
|
||||||
case y
|
case y
|
||||||
|
set -e _tide_selected_option # Skip through all the _next_choices
|
||||||
_tide_finish
|
_tide_finish
|
||||||
|
set $_tide_left_prompt_display_var
|
||||||
|
set $_tide_right_prompt_display_var
|
||||||
|
clear
|
||||||
end
|
end
|
||||||
|
|
||||||
__tide_on_fish_exit
|
|
||||||
clear
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function _tide_finish
|
function _tide_finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# RUN: %fish %s
|
# RUN: %fish %s
|
||||||
|
|
||||||
function _jobs -a jobs
|
function _jobs -a jobs
|
||||||
set -lx _tide_has_jobs $jobs
|
set -lx _tide_jobs_status $jobs
|
||||||
_tide_decolor (_tide_item_jobs)
|
_tide_decolor (_tide_item_jobs)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user