~ K A L I ~
UNAME : Linux web64.extendcp.co.uk 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64SERVER IP : 10.0.187.64 -________-
CLIENT IP : 216.73.216.230 MINI SHELL D ZAB '
Current File : //usr/share/bash-completion/completions/watch |
# 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
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com