jump: fix syntax
This commit is contained in:
parent
8931b042e6
commit
a5073929ec
|
@ -63,8 +63,8 @@ in {
|
||||||
}
|
}
|
||||||
_complete_jump_marks() {
|
_complete_jump_marks() {
|
||||||
local curw=''${COMP_WORDS[COMP_CWORD]}
|
local curw=''${COMP_WORDS[COMP_CWORD]}
|
||||||
local wordlist=$(find "$_JUMP_MARKPATH" -type l -printf "%f\n")
|
local wordlist=($(find "$_JUMP_MARKPATH" -type l -printf "%f\n"))
|
||||||
COMPREPLY=($(compgen -W ''\''${wordlist[@]}' -- "$curw"))
|
COMPREPLY=($(compgen -W "''${wordlist[@]}" -- "$curw"))
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
complete -F _complete_jump_marks jump unmark
|
complete -F _complete_jump_marks jump unmark
|
||||||
|
|
Loading…
Reference in New Issue