diff options
| -rw-r--r-- | harpoon.kak | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/harpoon.kak b/harpoon.kak index bd0ca90..282a4d3 100644 --- a/harpoon.kak +++ b/harpoon.kak @@ -105,6 +105,10 @@ hook global KakBegin .* %{ hook global KakEnd .* %{ evaluate-commands %sh{ + if [ -z "$kak_quoted_opt_harpoon_files" ]; then + rm -f "$kak_opt_harpoon_state_file" + exit + fi printf "$kak_quoted_opt_harpoon_files" > "$kak_opt_harpoon_state_file" } } |
