Skip to content

Commit d8f1093

Browse files
author
Skim bot
committed
chore: generate completions & manpage
1 parent 9c898e4 commit d8f1093

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

shell/completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ _sk() {
258258
return 0
259259
;;
260260
--flags)
261-
COMPREPLY=($(compgen -W "no-preview-pty show-score" -- "${cur}"))
261+
COMPREPLY=($(compgen -W "no-preview-pty show-score show-index" -- "${cur}"))
262262
return 0
263263
;;
264264
--hscroll-off)

shell/completion.fish

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ complete -c sk -l tmux -d 'Run in a tmux popup' -r
8888
complete -c sk -l log-level -d 'Set the log level' -r
8989
complete -c sk -l log-file -d 'Pipe log output to a file' -r
9090
complete -c sk -l flags -d 'Feature flags' -r -f -a "no-preview-pty\t'Disable preview PTY on linux'
91-
show-score\t'Display the item\'s match score before its value in the item list (for matcher debugging)'"
91+
show-score\t'Display the item\'s match score before its value in the item list (for matcher debugging)'
92+
show-index\t'Display the item\'s index before its value in the item list'"
9293
complete -c sk -l hscroll-off -r
9394
complete -c sk -l jump-labels -r
9495
complete -c sk -l tail -r

shell/completion.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module completions {
3333
}
3434

3535
def "nu-complete sk flags" [] {
36-
[ "no-preview-pty" "show-score" ]
36+
[ "no-preview-pty" "show-score" "show-index" ]
3737
}
3838

3939
# Fuzzy Finder in rust!

shell/completion.zsh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ zsh\:"Zsh"))' \
8989
'--log-level=[Set the log level]:LOG_LEVEL:_default' \
9090
'--log-file=[Pipe log output to a file]:LOG_FILE:_default' \
9191
'*--flags=[Feature flags]:FLAGS:((no-preview-pty\:"Disable preview PTY on linux"
92-
show-score\:"Display the item'\''s match score before its value in the item list (for matcher debugging)"))' \
92+
show-score\:"Display the item'\''s match score before its value in the item list (for matcher debugging)"
93+
show-index\:"Display the item'\''s index before its value in the item list"))' \
9394
'--hscroll-off=[]:HSCROLL_OFF:_default' \
9495
'--jump-labels=[]:JUMP_LABELS:_default' \
9596
'--tail=[]:TAIL:_default' \

0 commit comments

Comments
 (0)