| Server IP : 195.114.193.97 / Your IP : 216.73.217.116 Web Server : LiteSpeed System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 User : sembi4241 ( 1126) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/share/bash-completion/completions/ |
Upload File : |
# geoiplookup(1) completion -*- shell-script -*-
_geoiplookup()
{
local cur prev words cword
_init_completion || return
case $prev in
-h | -'?' | -v)
return
;;
-d)
_filedir -d
return
;;
-f)
_filedir dat
return
;;
esac
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W '$(_parse_usage "$1" -h)' -- "$cur"))
return
fi
local ipvx
[[ $1 == *6 ]] && ipvx=-6 || ipvx=-4
_known_hosts_real $ipvx -- "$cur"
} &&
complete -F _geoiplookup geoiplookup geoiplookup6
# ex: filetype=sh