From 208b0f9dd56d8a8c691e446aa64192fd8bc377bf Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Mon, 9 Mar 2020 20:34:32 +0100 Subject: [PATCH] Interactive config: remove useless argument and correct redirection --- share/functions/__fish_config_interactive.fish | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index e472ba03c..5509aab14 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -106,11 +106,10 @@ function __fish_config_interactive -d "Initializations that should be performed set -l update_args -B $__fish_data_dir/tools/create_manpage_completions.py --manpath --cleanup-in '~/.config/fish/completions' --cleanup-in '~/.config/fish/generated_completions' for py in python{3,2,} if command -sq $py - set -l c $py $update_args # Run python directly in the background and swallow all output - $c (: fish_update_completions: generating completions from man pages) >/dev/null 2>&1 & + $py $update_args >/dev/null 2>&1 & # Then disown the job so that it continues to run in case of an early exit (#6269) - disown 2>&1 >/dev/null + disown >/dev/null 2>&1 break end end