forked from WireGuard/wireguard-tools
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a74f34
commit a4aeb9e
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# Copyright (C) 2015-2020 Jason A. Donenfeld <[email protected]>. All Rights Reserved. | ||
|
||
_wg_quick_completion() { | ||
_awg_quick_completion() { | ||
local p i a search_paths old_glob | ||
search_paths=( /etc/wireguard ) | ||
|
||
|
@@ -40,4 +40,4 @@ _wg_quick_completion() { | |
eval "$old_glob" | ||
} | ||
|
||
complete -o filenames -o nosort -F _wg_quick_completion wg-quick | ||
complete -o filenames -o nosort -F _awg_quick_completion awg-quick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# Copyright (C) 2015-2020 Jason A. Donenfeld <[email protected]>. All Rights Reserved. | ||
|
||
_wg_completion() { | ||
_awg_completion() { | ||
local a | ||
|
||
if [[ $COMP_CWORD -eq 1 ]]; then | ||
|
@@ -96,4 +96,4 @@ _wg_completion() { | |
COMPREPLY+=( $(compgen -W "${words[*]}" -- "${COMP_WORDS[COMP_CWORD]}") ) | ||
} | ||
|
||
complete -o nosort -F _wg_completion wg | ||
complete -o nosort -F _awg_completion awg |