mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-26 09:42:51 +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
|
||||
|
||||
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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user