diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2013-11-11 21:14:24 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2013-11-12 22:14:14 +0530 |
commit | 0de26732bf806bdae3d33175af39d9ec36e6820f (patch) | |
tree | 807822339a66bcfdee82259e14b3c60f0e08fa96 /share/functions/__fish_config_interactive.fish | |
parent | 0f02997bcc4e29dbba0a1397af57ba2f302d03e2 (diff) |
Don't show warning while generating man page completions on startup
Diffstat (limited to 'share/functions/__fish_config_interactive.fish')
-rw-r--r-- | share/functions/__fish_config_interactive.fish | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 2c9c9c23..20243040 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -137,8 +137,11 @@ function __fish_config_interactive -d "Initializations that should be performed end + # + # Generate man page completions if not present + # + 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 |