diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index d9ee0700e..2c9c9c233 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -137,6 +137,12 @@ function __fish_config_interactive -d "Initializations that should be performed end + if not test -d $configdir/fish/generated_completions + echo "Man page completions not found on your system. Running 'fish_update_completions' in background. You can continue to use fish while the process is being done." + #fish_update_completions is a function, so it can not be directly run in background. + fish -c 'fish_update_completions > /dev/null ^/dev/null' & + end + # # Print a greeting #