mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
completions/sudo: Fix sudo -e
This uses the new "--force-files" flag. Fixes #5646. [ci skip]
This commit is contained in:
parent
4ebb6cf39e
commit
430b2a48a9
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user