diff options
author | axel <axel@liljencrantz.se> | 2007-01-28 13:26:52 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-01-28 13:26:52 +1000 |
commit | 6a60377e02b7a2520932e37a92e2eb0fc2d0b14f (patch) | |
tree | e522d1b40ad9f9b8b11d39bfc9c0bd41d6341c74 /share/completions/sudo.fish | |
parent | fc87b3c4b40a44d1753848ca9a814d24d52cd453 (diff) |
Add -u switch to completions which can have unknown switches or which are incomplete
darcs-hash:20070128032652-ac50b-dae70e7b2efddbc757aae8bc7d1884ff5e010621.gz
Diffstat (limited to 'share/completions/sudo.fish')
-rw-r--r-- | share/completions/sudo.fish | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/completions/sudo.fish b/share/completions/sudo.fish index fb77838f..b9e4faaf 100644 --- a/share/completions/sudo.fish +++ b/share/completions/sudo.fish @@ -6,3 +6,6 @@ complete -c sudo --description "Command to run" -x -a '(__fish_complete_subcomma complete -c sudo -s h -n "__fish_no_arguments" --description "Display help and exit" complete -c sudo -s v -n "__fish_no_arguments" --description "Validate" + +# Since sudo runs subcommands, it can accept any switches +complete -c sudo -u |