mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Don't show warning while generating man page completions on startup
This commit is contained in:
@@ -137,8 +137,11 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
# Generate man page completions if not present
|
||||||
|
#
|
||||||
|
|
||||||
if not test -d $configdir/fish/generated_completions
|
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_update_completions is a function, so it can not be directly run in background.
|
||||||
fish -c 'fish_update_completions > /dev/null ^/dev/null' &
|
fish -c 'fish_update_completions > /dev/null ^/dev/null' &
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user