From 430b2a48a92fc5611bf05cc350698d027a818687 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 30 May 2019 19:14:33 +0200 Subject: [PATCH] completions/sudo: Fix `sudo -e` This uses the new "--force-files" flag. Fixes #5646. [ci skip] --- share/completions/sudo.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/sudo.fish b/share/completions/sudo.fish index 710d557e2..fdbe253fc 100644 --- a/share/completions/sudo.fish +++ b/share/completions/sudo.fish @@ -47,7 +47,7 @@ complete -c sudo -n "__fish_sudo_no_subcommand" -s K -d "Remove the credential t complete -c sudo -n "__fish_sudo_no_subcommand" -s P -d "Preserve group vector" complete -c sudo -n "__fish_sudo_no_subcommand" -s S -d "Read password from stdin" complete -c sudo -n "__fish_sudo_no_subcommand" -s b -d "Run command in the background" -complete -c sudo -n "__fish_sudo_no_subcommand" -s e -r -d "Edit" +complete -c sudo -n "__fish_sudo_no_subcommand" -s e -rF -d "Edit" complete -c sudo -n "__fish_sudo_no_subcommand" -s g -a "(__fish_complete_groups)" -x -d "Run command as group" complete -c sudo -n "__fish_sudo_no_subcommand" -s i -d "Run a login shell" complete -c sudo -n "__fish_sudo_no_subcommand" -s k -d "Reset or ignore the credential timestamp"