Skip to content

Commit d231430

Browse files
author
Git for Windows Build Agent
committed
Update 1 package
bash-completion (2.14.0-1 -> 2.15.0-1) Signed-off-by: Git for Windows Build Agent <[email protected]>
1 parent ab716b8 commit d231430

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+1275
-700
lines changed

usr/share/bash-completion/bash_completion

Lines changed: 232 additions & 110 deletions
Large diffs are not rendered by default.

usr/share/bash-completion/completions/insmod renamed to usr/share/bash-completion/completions/_insmod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Linux insmod(8) completion -*- shell-script -*-
22

3+
# Use of this file is deprecated.
4+
# Upstream completion is available in kmod >= 34, use that instead.
5+
36
_comp_cmd_insmod()
47
{
58
local cur prev words cword comp_args

usr/share/bash-completion/completions/insmod.static renamed to usr/share/bash-completion/completions/_insmod.static

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Linux insmod(8) completion -*- shell-script -*-
22

3+
# Use of this file is deprecated.
4+
# Upstream completion is available in kmod >= 34, use that instead.
5+
36
_comp_cmd_insmod()
47
{
58
local cur prev words cword comp_args
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# 3rd party completion loader for commands using -*- shell-script -*-
2+
# version 1 of the https://cli.urfave.org library.
3+
#
4+
# This serves as a fallback in case the completion is not installed otherwise.
5+
6+
# https://github.com/urfave/cli/blob/v1-maint/docs/v1/manual.md#bash-completion
7+
# https://github.com/urfave/cli/blob/v1-maint/autocomplete/bash_autocomplete
8+
_comp_cmd__urfave_cli_v1()
9+
{
10+
local cur prev words cword comp_args
11+
_comp_initialize -- "$@" || return
12+
13+
local compcmd=("${words[@]:0:cword}")
14+
if [[ $cur == -* ]]; then
15+
compcmd+=("$cur")
16+
fi
17+
compcmd+=(--generate-bash-completion)
18+
19+
_comp_compgen_split -- "$("${compcmd[@]}" 2>/dev/null)"
20+
} &&
21+
complete -o bashdefault -o default -o nospace \
22+
-F _comp_cmd__urfave_cli_v1 "$1"
23+
24+
# ex: filetype=sh

usr/share/bash-completion/completions/modinfo renamed to usr/share/bash-completion/completions/_modinfo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Linux modinfo(8) completion -*- shell-script -*-
22

3+
# Use of this file is deprecated.
4+
# Upstream completion is expected to be available in kmod >= 35, use that instead.
5+
36
_comp_cmd_modinfo()
47
{
58
local cur prev words cword was_split comp_args

usr/share/bash-completion/completions/modprobe renamed to usr/share/bash-completion/completions/_modprobe

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Linux modprobe(8) completion -*- shell-script -*-
22

3+
# Use of this file is deprecated.
4+
# Upstream completion is expected to be available in kmod >= 35, use that instead.
5+
36
_comp_cmd_modprobe()
47
{
58
local cur prev words cword was_split comp_args
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# mtr(8) completion -*- shell-script -*-
2+
3+
# Use of this file is deprecated.
4+
# Upstream completion is available in mtr >= 0.88, use that instead.
5+
6+
complete -F _comp_complete_known_hosts mtr
7+
8+
# ex: filetype=sh
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 3rd party completion loader for commands emitting -*- shell-script -*-
2+
# their completion using "$cmd completion bash".
3+
# For example, many Go programs using https://github.com/spf13/cobra do.
4+
#
5+
# This serves as a fallback in case the completion is not installed otherwise.
6+
7+
eval -- "$("$1" completion bash 2>/dev/null)"
8+
9+
# ex: filetype=sh
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 3rd party completion loader for commands emitting -*- shell-script -*-
2+
# their completion using "$cmd completion".
3+
#
4+
# This serves as a fallback in case the completion is not installed otherwise.
5+
6+
eval -- "$("$1" completion 2>/dev/null)"
7+
8+
# ex: filetype=sh

usr/share/bash-completion/completions/rmmod renamed to usr/share/bash-completion/completions/_rmmod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Linux rmmod(8) completion. -*- shell-script -*-
22
# This completes on a list of all currently installed kernel modules.
33

4+
# Use of this file is deprecated.
5+
# Upstream completion is available in kmod >= 34, use that instead.
6+
47
_comp_cmd_rmmod()
58
{
69
local cur prev words cword comp_args

0 commit comments

Comments
 (0)