| Server IP : 217.160.0.64 / Your IP : 216.73.216.182 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67269618 ( 67269618) PHP Version : 8.4.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/self/root/kunden/proc/self/root/usr/share/zsh/functions/Completion/Unix/ |
Upload File : |
#compdef basename gbasename
local args variant
_pick_variant -r variant gnu=GNU $OSTYPE --version
case $variant in
gnu)
args=( -s -S -A "-*"
'(2 -a --multiple)'{-a,--multiple}'[support multiple arguments, handling each]'
'(2 -a --multiple -s --suffix)'{-s+,--suffix=}'[remove a trailing suffix]:suffix'
'(-z --zero)'{-z,--zero}'[separate output with NUL rather than newline]'
'(- *)--version[display version information]'
'(- *)--help[display help information]'
)
;;
darwin*|dragonfly*|freebsd*)
args=( -s -S -A "-*"
'(2)-a[support multiple arguments, handling each]'
'(-a 2)-s+[remove a trailing suffix]:suffix'
)
;;
esac
_arguments $args \
'1:file:_files' \
'(*)2:suffix' \
'*:file:_files'