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:
Fabian Homborg 2020-12-16 18:31:51 +01:00
parent 39263fc92d
commit 75dcbed700
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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