mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
autocompletion: add Linphone and mediastreamer tools as supported by the tool
This commit is contained in:
parent
4451648110
commit
d78eea16cb
2 changed files with 7 additions and 5 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit d415848eb7c12d41a01fc4ec67d4fd3af97f9003
|
||||
Subproject commit 50bfebc6ff8819a4f6f7609c0e8fecf8277e0e0b
|
||||
|
|
@ -16,9 +16,9 @@
|
|||
|
||||
# Created by Gautier Pelloux-Prayer on 2014/10/24.
|
||||
# This script adds auto-completion for liblinphone_tester binary for Bash and
|
||||
# zsh. To use it, just type: `source liblinphone_completion`, then use
|
||||
# `./liblinphone_tester [tab] to get auto-completions. To use it permanently,
|
||||
# source this file in your .rc file
|
||||
# Zsh. To use it, just type: `source liblinphone_completion`, then for each
|
||||
# supported exectuable (see end of file), you will get auto-completions.
|
||||
# To use it permanently, source this file in your .rc file (.bashrc or .zshrc).
|
||||
|
||||
_liblinphone_complete() {
|
||||
local completions command_requiring_argument prev_arg latest_arg available_tasks has_not_set_suite suite_name
|
||||
|
|
@ -102,7 +102,9 @@ _liblinphone_complete() {
|
|||
fi
|
||||
}
|
||||
|
||||
for tester in liblinphone_tester mediastreamer2_tester belle_sip_tester; do
|
||||
for tester in liblinphone_tester mediastreamer2_tester belle_sip_tester pcap_playback \
|
||||
bench mediastream msaudiocmp mtudiscover videodisplay linphone lpc2xml_test \
|
||||
lp-gen-wrappers xml2lpc_test; do
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
complete -F _liblinphone_complete $tester
|
||||
elif [ -n "$ZSH_VERSION" ]; then
|
||||
Loading…
Add table
Reference in a new issue