%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/nginx_exporter/completions/
Upload File :
Create Path :
Current File : //opt/nginx_exporter/completions/nginx-prometheus-exporter.bash

_nginx-prometheus-exporter_bash_autocomplete() {
    local cur prev opts base
    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    opts=$( ${COMP_WORDS[0]} --completion-bash "${COMP_WORDS[@]:1:$COMP_CWORD}" )
    COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
    return 0
}
complete -F _nginx-prometheus-exporter_bash_autocomplete -o default nginx-prometheus-exporter


Zerion Mini Shell 1.0