]> git.proxmox.com Git - mirror_ifupdown2.git/blame - completion/ifup
Merge pull request #80 from BarbarossaTM/tunnel-fixes-master
[mirror_ifupdown2.git] / completion / ifup
CommitLineData
2c8c4ce7
RP
1
2_python_argcomplete() {
3 local IFS='\v'
4 COMPREPLY=( $(IFS="$IFS" COMP_LINE="$COMP_LINE" COMP_POINT="$COMP_POINT" _ARGCOMPLETE_COMP_WORDBREAKS="$COMP_WORDBREAKS" _ARGCOMPLETE=1 "$1" 8>&1 9>&2 1>/dev/null 2>/dev/null) )
5 if [[ $? != 0 ]]; then
6 unset COMPREPLY
7 fi
8}
9complete -F _python_argcomplete ifup ifdown ifquery ifreload