diff options
Diffstat (limited to 'harpoon.kak')
| -rw-r--r-- | harpoon.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/harpoon.kak b/harpoon.kak index 282a4d3..b239da4 100644 --- a/harpoon.kak +++ b/harpoon.kak @@ -24,7 +24,7 @@ define-command harpoon-nav -params 1 -docstring "harpoon-nav <index>: navigate t evaluate-commands %sh{ index=$1 eval set -- "$kak_quoted_opt_harpoon_files" - eval "bufname=\$$index" + eval "bufname=\${$index}" if [ -n "$bufname" ]; then echo "edit '$bufname'" echo "echo '$index: $bufname'" |
