diff options
| author | Caleb Heuer <ch@raiguard.me> | 2024-03-25 14:19:01 -0600 |
|---|---|---|
| committer | Caleb Heuer <ch@raiguard.me> | 2024-03-25 14:19:01 -0600 |
| commit | 055a8075de4622d6308e9dbc8fa97d5b5721c4b7 (patch) | |
| tree | 3040d7fe6f9cdf9fa01ce49765412fbf938d1b1e | |
| parent | 945d99cc1481ae52a8d3ce0a40be53675add6b91 (diff) | |
Fix error
| -rw-r--r-- | harpoon.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/harpoon.kak b/harpoon.kak index 4b2388a..3a8f1c3 100644 --- a/harpoon.kak +++ b/harpoon.kak @@ -8,7 +8,7 @@ define-command harpoon-add -docstring "harpoon-add: Add the current file to the index=$(($index + 1)) if [ "$1" = "$kak_bufname" ]; then echo "fail %{$kak_quoted_bufname is already harpooned at index $index}" - return + exit fi shift done |
