/dports/shells/zsh/zsh-5.8.1/Completion/Base/Completer/ |
H A D | _history | 14 # sort -- sort matches lexically (default is to sort by age) 16 # remove /all/ duplicate matches rather than just consecutives 21 if zstyle -t ":completion:${curcontext}:" remove-all-dups; then 27 if zstyle -t ":completion:${curcontext}:" sort; then 33 if zstyle -s ":completion:${curcontext}:" range max; then 52 # interfere with the completion
|
H A D | _user_expand | 15 local exp word sort expr expl subd suf=" " asp tmp spec REPLY 30 zstyle -a ":completion:${curcontext}:" user-expand specs || return 1 59 # Now add as matches whatever the user requested. 61 zstyle -s ":completion:${curcontext}:" sort sort 63 [[ "$sort" = (yes|true|1|on) ]] && exp=( "${(@o)exp}" ) 65 if zstyle -s ":completion:${curcontext}:" add-space tmp; then 88 if [[ "$sort" = menu ]]; then 101 if [[ "$sort" = menu ]]; then 127 if [[ "$sort" = menu ]]; then
|
H A D | _expand | 14 local exp word sort expr expl subd suf=" " force opt asp tmp opre pre epre 36 zstyle -T ":completion:${curcontext}:" suffix && 41 zstyle -s ":completion:${curcontext}:" accept-exact tmp || 63 zstyle -T ":completion:${curcontext}:" substitute; then 156 # Now add as matches whatever the user requested. 158 zstyle -s ":completion:${curcontext}:" sort sort 160 [[ "$sort" = (yes|true|1|on) ]] && exp=( "${(@o)exp}" ) 162 if zstyle -s ":completion:${curcontext}:" add-space tmp; then 185 if [[ "$sort" = menu ]]; then 198 if [[ "$sort" = menu ]]; then [all …]
|
/dports/editors/kakoune/kakoune-2021.11.08/src/ |
H A D | completion.hh | 64 inline Completions offset_pos(Completions completion, ByteCount offset) in offset_pos() argument 66 return {completion.start + offset, completion.end + offset, in offset_pos() 67 std::move(completion.candidates), completion.flags}; in offset_pos() 79 Vector<RankedMatch> matches; in complete() local 83 matches.push_back(match); in complete() 85 std::sort(matches.begin(), matches.end()); in complete() 87 for (auto& m : matches) in complete()
|
/dports/shells/zsh/zsh-5.8.1/Completion/Base/Widget/ |
H A D | _history_complete_word | 10 # list -- avoid to display lists of available matches 11 # stop -- stop before looping at beginning and end of matches 12 # sort -- sort matches lexically (default is to sort by age) 14 # remove /all/ duplicate matches rather than just consecutives 34 zstyle -t ":completion:${curcontext}:history-words" stop && stop=yes 36 zstyle -T ":completion:${curcontext}:history-words" list || compstate[list]='' 101 zstyle -T ":completion:${curcontext}:history-words" list || compstate[list]=
|
/dports/devel/gnome-builder/gnome-builder-41.3/src/plugins/python-gi-imports-completion/ |
H A D | python_gi_imports_completion.py | 57 if library.matches(text): 68 row.set_center(proposal.completion) 77 buffer.insert(begin, proposal.completion, -1) 89 if library.matches(text): 110 self._libraries.sort(key=lambda x: x.completion) 115 def __init__(self, completion, *args, **kwargs): argument 117 self.completion = completion 118 self.lower = completion.lower() 120 def matches(self, text): member in CompletionProposal
|
/dports/shells/yash/yash-2.51/share/completion/ |
H A D | INIT | 88 typeset extension=false update=true sort=false 93 (s) sort=true;; 110 typeset matches 122 matches=() 130 matches=("$matches" "$opt") 144 matches=() 152 matches=("$matches" "$opt") 271 matches=() 279 matches=("$matches" "$opt") 338 if ! $extension || $sort; then [all …]
|
/dports/shells/zsh/zsh-5.8.1/Test/ |
H A D | Y01completion.ztst | 1 # Tests for completion system. 71 comptesteval 'zstyle ":completion:*:descriptions" format \ 74 comptesteval 'zstyle ":completion:*:descriptions" format $oldfmt' 139 ZTST_skip="no UTF-8 locale for multibyte completion test" 168 0:ignore backslashes when sorting completion matches 181 0:reverse numeric sorting of matches 190 comptesteval "zstyle ':completion:*:tst:*' sort reverse numeric" 192 0:reverse numeric sorting of matches via a style 202 0:sort in match rather than display name order 209 comptesteval "zstyle ':completion:*:tst:*' sort false" [all …]
|
/dports/x11-toolkits/kf5-kcompletion/kcompletion-5.89.0/src/ |
H A D | kcompletion.cpp | 61 QString completion; in findCompletion() local 130 return completion; in findCompletion() 323 completion = d->matches.first(); in makeCompletion() 343 return completion; in makeCompletion() 487 completion = d->matches.first(); in nextMatch() 496 QStringList matches = d->matches.list(); in nextMatch() local 503 completion = matches[d->rotationIndex]; in nextMatch() 525 completion = d->matches.last(); in previousMatch() 534 QStringList matches = d->matches.list(); in previousMatch() local 543 completion = matches[d->rotationIndex]; in previousMatch() [all …]
|
/dports/shells/ohmyzsh/ohmyzsh-6babcbd8841335a3c25ec960ff57ab9a139c9073/plugins/zsh-interactive-cd/ |
H A D | zsh-interactive-cd.plugin.zsh | 63 __zic_matched_subdir_list "${(Q)@[-1]}" | sort 68 local l matches fzf tokens base 80 matches=${(q)l} 82 matches=$(echo $l \ 91 matches=${matches% } 92 if [ -n "$matches" ]; then 113 LBUFFER="${LBUFFER}${matches}/" 119 zic-completion() { 146 zle -N zic-completion 147 bindkey -M emacs '^I' zic-completion [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/gui-lib/framework/private/ |
H A D | autocomplete.rkt | 44 (define better-completion? 49 ;; prefer shorter matches 62 ;; if we set mx to +inf.0, we get just the prefix matches 63 ;; if we set mx to 1000, we get just the matches somewhere in the word 72 (map car (sort 79 better-completion?))) 106 (λ (completion) 107 (cons completion (rnk completion))))) 109 (check-equal? (better-completion? (rnk "define-syntax-rule") (rnk "syntax")) 115 (check-equal? (better-completion? (rnk "define-syntax") (rnk "syntax")) [all …]
|
/dports/shells/zsh/zsh-5.8.1/Completion/Unix/Type/ |
H A D | _path_files | 156 if zstyle -s ":completion:${curcontext}:" file-sort tmp1; then 158 *size*) sort=oL;; 159 *links*) sort=ol;; 160 *(time|date|modi)*) sort=om;; 161 *access*) sort=oa;; 162 *(inode|change)*) sort=oc;; 163 *) sort=on;; 166 [[ "$tmp1" = *follow* ]] && sort="-${sort}-" 168 if [[ "$sort" = on ]]; then 169 sort= [all …]
|
/dports/shells/ohmyzsh/ohmyzsh-6babcbd8841335a3c25ec960ff57ab9a139c9073/plugins/ripgrep/ |
H A D | _ripgrep | 4 # zsh completion function for ripgrep 74 '--count-matches[only show count of individual matches for each file]' 84 '(stats)'{-l,--files-with-matches}'[only show names of files with matches]' 220 + '(sort)' # File-sorting options 221 '(threads)--sort=[sort results in ascending order (disables parallelism)]:sort method:(( 223 path\:"sort by file path" 228 '(threads)--sortr=[sort results in descending order (disables parallelism)]:sort method:(( 230 path\:"sort by file path" 235 '!(threads)--sort-files[sort results by file path (disables parallelism)]' 456 # together when offering completion possibilities. [all …]
|
/dports/textproc/ripgrep/ripgrep-13.0.0/complete/ |
H A D | _rg | 4 # zsh completion function for ripgrep 74 '--count-matches[only show count of individual matches for each file]' 92 '(stats)'{-l,--files-with-matches}'[only show names of files with matches]' 240 + '(sort)' # File-sorting options 241 '(threads)--sort=[sort results in ascending order (disables parallelism)]:sort method:(( 243 path\:"sort by file path" 248 '(threads)--sortr=[sort results in descending order (disables parallelism)]:sort method:(( 250 path\:"sort by file path" 255 '!(threads)--sort-files[sort results by file path (disables parallelism)]' 484 # together when offering completion possibilities. [all …]
|
/dports/irc/epic4/epic4-2.10.9/script/ |
H A D | tabkey.ce | 5 # to do the actual completion. The function will receive a single word as 47 # * Generally, completion "methods" should be placed under tabkey.method 113 @ :matches = prefix($matches) 117 @ args = matches 147 # Context sensitive completion goes here. 170 @ :matches = [] 175 repeat $#matches @ push(matches $rightw(1 $remws(/ $split(/ $shift(matches))))) 176 return $matches 182 @ :ret = sort($uniq($getcommands($**) $aliasctl(alias match $*) $aliasctl(alias match $**))) 211 return $pattern("$args*" $sort($uniq($chanusers))); [all …]
|
/dports/irc/epic5/epic5-2.1.6/script/ |
H A D | tabkey.ce | 1 # tabkey.ce - Tab key completion script for EPIC5 26 # to do the actual completion. The function will receive a single word as 67 # * Generally, completion "methods" should be placed under tabkey.method 103 # to cause a particular key sequence to perform completion on the 302 # the completion routine returns nothing. See aliases below 340 # Context sensitive completion goes here. 487 …@ :retval = pattern($word* $sort($uniq($TABKEY.MSGHIST[$encode($winserv())] $tabkey.method.nickcha… 540 …@ function_return = pattern($0* $sort($uniq($TABKEY.MSGHIST[$encode($winserv())] $tabkey.method.ni… 644 @ :list = sort($uniq($list)); 694 @ function_return = pattern($args* $sort($uniq($chanusers))); [all …]
|
/dports/shells/zsh/zsh-5.8.1/Completion/Zsh/Context/ |
H A D | _first | 10 # word on the line matches a certain pattern. This example allows 11 # completion of words from the history by adding two commas at the end 30 # if zstyle -t ":completion:${curcontext}:history-words" sort; then 39 # # on menu-completion and make sure that no other 40 # # completion function is called by setting _compskip.
|
/dports/shells/zsh/zsh-5.8.1/Doc/Zsh/ |
H A D | compsys.yo | 1554 kindex(file-sort, completion style) 1555 item(tt(file-sort))( 1559 values are: `tt(size)' to sort by the size of the file; 1560 `tt(links)' to sort by the number of links to the file; 1561 `tt(modification)' (or `tt(time)' or `tt(date)') to sort by the last 1563 `tt(inode)' (or `tt(change)') to sort by the last inode change 2279 kindex(old-matches, completion style) 2537 kindex(sort, completion style) 2538 item(tt(sort))( 2942 zstyle ':completion:all-matches:*' old-matches only [all …]
|
H A D | compwid.yo | 312 The number of matches generated and accepted by the completion code so 352 common prefix for the generated matches as with normal completion. 411 prefix the completion code has generated for all matches added so far. 447 cindex(completion widgets, adding specified matches) 564 If the matches include numbers, sort them numerically rather than 568 Arrange the matches backwards by reversing the sort ordering. 665 This flag can be used to tell the completion code that the matches 700 matches, but are not to appear in the completion listing. 742 completion or menu selection. This makes empty matches only useful to 744 completion lists (since empty matches can be given display strings [all …]
|
/dports/shells/zsh/zsh-5.8.1/Completion/Zsh/Type/ |
H A D | _globquals | 123 if zstyle -t ":completion:${curcontext}:time-specifiers" verbose; then 124 zstyle -s ":completion:${curcontext}:time-specifiers" list-separator sep || sep=-- 132 if zstyle -t ":completion:${curcontext}:senses" verbose; then 133 zstyle -s ":completion:${curcontext}:senses" list-separator sep || sep=-- 170 # complete/skip sort spec 184 _describe -t sort-specifiers "sort specifier" alts -Q -S '' 267 "n:numeric glob sort" 268 "o:+ sort order, up" 269 "O:+ sort order, down" 271 "Y:+ at most ARG matches"
|
/dports/shells/zsh/zsh-5.8.1/Doc/ |
H A D | zsh.info-3 | 1866 If the matches include numbers, sort them numerically 1870 Arrange the matches backwards by reversing the sort 3933 file-sort 3937 values are: `size' to sort by the size of the file; `links' to 3939 or `date') to sort by the last modification time; `access' to sort 3940 by the last access time; and `inode' (or `change') to sort by the 4850 sort 5245 zstyle ':completion:all-matches:*' old-matches only 5472 can be controlled by the remove-all-dups, and sort styles as for 5582 add-space and sort styles specific to the _expand completer are [all …]
|
/dports/shells/psh/psh-1.8.1/examples/ |
H A D | complete-examples | 22 # This encapsulates the default bash completion code 25 # Since programmable completion does not use the bash default completions 26 # or the readline default of filename completion when the compspec does 27 # not generate any matches, this may be used as a 'last resort' in a ##'' 28 # completion function to mimic the default bash completion behavior. 68 # final default is filename completion 85 # do $PATH lookup (or do compgen -c and filter out matches that also 141 # we could be a little smarter here and return matches against 206 …map { chomp, $_ } `"$cmd" --help | awk \'{if (\$1 ~ /--.*/) print \$1}\' | grep ^"$cur" | sort -u`;
|
/dports/shells/bash/bash-5.1/examples/complete/ |
H A D | complete-examples | 23 # This encapsulates the default bash completion code 27 # or the readline default of filename completion when the compspec does 28 # not generate any matches, this may be used as a `last resort' in a 29 # completion function to mimic the default bash completion behavior. 73 # final default is filename completion 124 # do $PATH lookup (or do compgen -c and filter out matches that also 348 # meta-completion (completion for complete/compgen) 408 # we could be a little smarter here and return matches against 444 # matches of that word 449 …ll | awk 'BEGIN {FS=":"} /^[^.# ][^=]*:/ {print $1}' | tr -s ' ' '\012' | sort -u | eval $gcmd ) ) [all …]
|
/dports/mail/aerc/aerc-0.4.0/config/ |
H A D | aerc.conf.in | 56 # List of space-separated criteria to sort the messages by, see *sort* 63 sort= 107 # How long to wait after the last input before auto-completion is triggered. 110 completion-delay=250ms 113 # Global switch for completion popovers 116 completion-popovers=true 137 # The command must output the completions to standard output, one completion 149 # The first filter which matches the email's mimetype will be used, so order
|
/dports/shells/zsh/zsh-5.8.1/Completion/Unix/Command/ |
H A D | _global | 3 local cmds="(-c --completion -f --file -g --grep -I --idutils -p --print-dbpath -P --path -u --upda… 6 "$cmds"{-c,--completion}'[completion on prefix]:prefix:' \ 14 '(--color)--color=-[color matches]::color:(always auto never)' \ 28 …'(--match-part)--match-part=-[specify how path name completion should match]::part:(first last all… 29 '(-n --nofilter)'{-n,--nofilter}'[suppress sort filter and path conversion filter]' \
|