diff --git a/functions/_tide_sub_reload.fish b/functions/_tide_sub_reload.fish new file mode 100644 index 00000000..5a45fbd9 --- /dev/null +++ b/functions/_tide_sub_reload.fish @@ -0,0 +1,3 @@ +function _tide_sub_reload + source (functions --details fish_prompt) +end diff --git a/functions/tide.fish b/functions/tide.fish index 84bbbf11..3ae06a3a 100644 --- a/functions/tide.fish +++ b/functions/tide.fish @@ -23,5 +23,6 @@ function _tide_help '' \ 'Subcommands:' \ ' configure run interactive configuration wizard' \ + ' reload reload tide configuration' \ ' bug-report print info for use in bug reports' end diff --git a/functions/tide/configure/choices/all/finish.fish b/functions/tide/configure/choices/all/finish.fish index e78efbdd..e9a700d5 100644 --- a/functions/tide/configure/choices/all/finish.fish +++ b/functions/tide/configure/choices/all/finish.fish @@ -38,7 +38,7 @@ function _tide_finish set -e $_tide_prompt_var 2>/dev/null # Re-initialize the prompt - source (functions --details fish_prompt) + tide reload end function _tide_print_configure_current_options