mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Remove some useless uses of no-scope-shadowing
This is a very delicate tool, and these completions simply don't need them.
This commit is contained in:
parent
39263fc92d
commit
75dcbed700
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ set -l pkg_subcmds install upgrade full-upgrade show search purge changelog poli
|
|||
set -l installed_pkg_subcmds remove
|
||||
set -l handle_file_pkg_subcmds install
|
||||
|
||||
function __fish_apt_subcommand --no-scope-shadowing
|
||||
function __fish_apt_subcommand -V all_subcmds
|
||||
set -l subcommand $argv[1]
|
||||
set -e argv[1]
|
||||
complete -f -c apt -n "not __fish_seen_subcommand_from $all_subcmds" -a $subcommand $argv
|
||||
|
|
|
@ -24,7 +24,7 @@ function __fish_complete_svn_diff --description 'Complete "svn diff" arguments'
|
|||
|
||||
end
|
||||
|
||||
function _svn_cmpl_ -d 'Make a completion for a subcommand' --no-scope-shadowing --argument-names subcommand
|
||||
function _svn_cmpl_ -d 'Make a completion for a subcommand' --argument-names subcommand
|
||||
set -e argv[1]
|
||||
complete -c svn -n "__fish_seen_subcommand_from $subcommand" $argv
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue