- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 3.15.188.166
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/bash-completion/completions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/bash-completion/completions/g4
# Perforce completion                                      -*- shell-script -*-
# by Frank Cusack <frank@google.com>

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

    local p4commands p4filetypes

    # rename isn't really a command
    p4commands="$( p4 help commands 2>/dev/null | awk 'NF>3 {print $1}' )"
    p4filetypes="ctext cxtext ktext kxtext ltext tempobj ubinary \
        uresource uxbinary xbinary xltext xtempobj xtext \
        text binary resource"

    if [[ $cword -eq 1 ]]; then
        COMPREPLY=( $( compgen -W "$p4commands" -- "$cur" ) )
    elif [[ $cword -eq 2 ]]; then
        case $prev in
            help)
                COMPREPLY=( $( compgen -W "simple commands environment
                    filetypes jobview revisions usage views $p4commands" \
                        -- "$cur" ) )
                ;;
            admin)
                COMPREPLY=( $( compgen -W "checkpoint stop" -- "$cur" ) )
                ;;
            *)
                ;;
        esac
    elif [[ $cword -gt 2 ]]; then
        case $prev in
            -t)
                case ${words[$cword-2]} in
                    add|edit|reopen)
                        COMPREPLY=( $( compgen -W "$p4filetypes" -- "$cur" ) )
                        ;;
                    *)
                        ;;
                esac
                ;;
            *)
                ;;
        esac
    fi

} &&
complete -F _p4 -o default p4 g4

# ex: filetype=sh

Youez - 2016 - github.com/yon3zu
LinuXploit