File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ complete -c sk -l tmux -d 'Run in a tmux popup' -r
8888complete -c sk -l log-level -d ' Set the log level' -r
8989complete -c sk -l log-file -d ' Pipe log output to a file' -r
9090complete -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'"
9293complete -c sk -l hscroll-off -r
9394complete -c sk -l jump-labels -r
9495complete -c sk -l tail -r
Original file line number Diff line number Diff 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!
Original file line number Diff line number Diff 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' \
You can’t perform that action at this time.
0 commit comments