From 40c553db29f0fd8a73f655d0fa3ae284f09a902a Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 27 Oct 2019 06:46:50 +0100 Subject: [PATCH] Fix completion scripts for builtins "exec" and "not" --- share/completions/exec.fish | 2 +- share/completions/not.fish | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/share/completions/exec.fish b/share/completions/exec.fish index b1043bf76..a2abf228a 100644 --- a/share/completions/exec.fish +++ b/share/completions/exec.fish @@ -1,2 +1,2 @@ - complete -c exec -s h -l help -d 'Display help and exit' +complete -c exec -r -a '(__fish_complete_subcommand)' diff --git a/share/completions/not.fish b/share/completions/not.fish index e0c7b86fe..90fa69045 100644 --- a/share/completions/not.fish +++ b/share/completions/not.fish @@ -1,4 +1,2 @@ - complete -c not -s h -l help -d 'Display help and exit' -complete -c not -xa '__fish_complete_subcommand' - +complete -c not -xa '(__fish_complete_subcommand)'