Heray-Was-Here
Server : Apache
System : Linux dal-shared-66.hostwindsdns.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : krnuyqrm ( 1183)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/thread-self/root/proc/thread-self/root/proc/self/root/usr/share/zsh/5.5.1/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/root/proc/thread-self/root/proc/self/root/usr/share/zsh/5.5.1/functions/_mdfind
#compdef mdfind

local ret=1
local -a context line state state_descr tmp
local -A opt_args val_args

_arguments -s -S : \
  '(-count)-0[separate result paths by NUL]' \
  '(-0)-count[display count of results instead of paths]' \
  '(-literal)-interpret[interpret query as if entered in Spotlight search field]' \
  '(-interpret)-literal[interpret query as literal query string]' \
  '-live[provide live updates to query results]' \
  '-onlyin[limit search to specified directory]: :_directories' \
  '(: -s)*-name[search for files with names matching specified string]:file name string' \
  '-reprint[reprint -live results on update]' \
  '(: -name)-s[show contents of specified smart folder]: :->smart-folders' \
  '(-s -name)1: :_guard "^-*" "query"' \
&& ret=0

[[ $state == smart-folders ]] && {
  tmp=( "$HOME/Library/Saved Searches/"*.savedSearch(-.N:r:t) )
  if (( $#tmp )); then
    _values 'smart folder' $tmp && ret=0
  else
    _message 'smart folder' && ret=0
  fi
}

return ret

Hry