403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Program Files (x86)/Microsoft Visual Studio/18/BuildTools/VC/vcpkg/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Program Files (x86)/Microsoft Visual Studio/18/BuildTools/VC/vcpkg/scripts/vcpkg_completion.bash
#!/usr/bin/env bash
# set -x

# To install:
#  > vcpkg integrate bash
#    This adds the following line to ~/.bashrc:
#      source ~/vcpkg/scripts/vcpkg_completion.bash

# Details: bash and utilities from bash-completion
#          Bash commands: compgen, complete
# Input: COMP_WORDS, COMP_CWORD, COMP_LINE, COMP_POINT, COMP_KEY, COMP_WORDBREAKS
# Output: COMPREPLY

_vcpkg_completions()
{
    local vcpkg_executable=${COMP_WORDS[0]}
    local remaining_command_line=${COMP_LINE:(${#vcpkg_executable}+1)}
    # echo "rem:$remaining_command_line"

    if [ $COMP_CWORD -eq 1 ]; then
        local opts=$(${vcpkg_executable} autocomplete ${remaining_command_line})
    else
        local opts=$(${vcpkg_executable} autocomplete ${remaining_command_line} --)
    fi
    #echo "opts:$opts"

    COMPREPLY=($(compgen -W "${opts}" -- ${COMP_WORDS[COMP_CWORD]}) )
    #echo "COMPREPLY:$COMPREPLY"
}

complete -F _vcpkg_completions vcpkg


Youez - 2016 - github.com/yon3zu
LinuXploit