0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.221.147.141


Current Path : /snap/core/16928/usr/share/bash-completion/completions/
Upload File :
Current File : //snap/core/16928/usr/share/bash-completion/completions/declare

# bash shell function completion                           -*- shell-script -*-

_function()
{
    local cur prev words cword
    _init_completion || return

    if [[ $1 == @(declare|typeset) ]]; then
        if [[ $prev == -f ]]; then
            COMPREPLY=( $( compgen -A function -- "$cur" ) )
        elif [[ "$cur" == -* ]]; then
            COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
        fi
    elif [[ $cword -eq 1 ]]; then
        COMPREPLY=( $( compgen -A function -- "$cur" ) )
    else
        COMPREPLY=( "() $( type -- ${words[1]} | sed -e 1,2d )" )
    fi
} &&
complete -F _function function declare typeset

# ex: ts=4 sw=4 et filetype=sh