jump: fix syntax

This commit is contained in:
Peder Bergebakken Sundt 2024-09-13 18:12:04 +02:00
parent 8931b042e6
commit a5073929ec
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ in {
}
_complete_jump_marks() {
local curw=''${COMP_WORDS[COMP_CWORD]}
local wordlist=$(find "$_JUMP_MARKPATH" -type l -printf "%f\n")
COMPREPLY=($(compgen -W ''\''${wordlist[@]}' -- "$curw"))
local wordlist=($(find "$_JUMP_MARKPATH" -type l -printf "%f\n"))
COMPREPLY=($(compgen -W "''${wordlist[@]}" -- "$curw"))
return 0
}
complete -F _complete_jump_marks jump unmark