From a5073929ec7a8273024013049b6db761d44b770f Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 13 Sep 2024 18:12:04 +0200 Subject: [PATCH] jump: fix syntax --- users/pbsds/home/modules/jump.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/pbsds/home/modules/jump.nix b/users/pbsds/home/modules/jump.nix index dbd71f1..ae91ec5 100644 --- a/users/pbsds/home/modules/jump.nix +++ b/users/pbsds/home/modules/jump.nix @@ -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