Server IP : 184.154.167.98 / Your IP : 18.116.63.107 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 : 8.2.26 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 : |
# watch(1) completion -*- shell-script -*- [[ $OSTYPE == *linux* ]] || return 1 _watch() { local cur prev words cword split _init_completion -s || return local offset=0 i for (( i=1; i <= cword; i++ )); do case ${words[i]} in -h|--help|--version) return ;; -n|--interval) (( i++ )) continue ;; -*) continue ;; esac offset=$i break done if [[ $offset -gt 0 ]]; then _command_offset $offset return fi case $prev in -d|--differences) [[ $cur != -* ]] && \ COMPREPLY=( $( compgen -W 'cumulative' -- "$cur" ) ) return ;; -n|--interval) return ;; esac $split && return if [[ $cur == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) [[ $COMPREPLY == *= ]] && compopt -o nospace return fi } && complete -F _watch watch # ex: filetype=sh