Skip to content

Commit

Permalink
Add reload subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
IlanCosman committed Sep 9, 2023
1 parent 7f41dd2 commit 4e0c86b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions functions/_tide_sub_reload.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function _tide_sub_reload
source (functions --details fish_prompt)
end
1 change: 1 addition & 0 deletions functions/tide.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion functions/tide/configure/choices/all/finish.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e0c86b

Please sign in to comment.