From 54404eec7e2090cb94ecd0b9cb42547b2b250a65 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 30 Apr 2025 15:00:58 +0300 Subject: Update --- dotfiles/fish/conf.d/editor.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/fish/conf.d/editor.fish b/dotfiles/fish/conf.d/editor.fish index 59c91df..4982ae7 100644 --- a/dotfiles/fish/conf.d/editor.fish +++ b/dotfiles/fish/conf.d/editor.fish @@ -15,8 +15,10 @@ function editor::helix::open_with_lock end end touch $lock + function cleanup_lock --on-process-exit hx + rm -f $lock + end hx $file $argv[2..-1] - rm $lock end function editor::helix::edit::remote -- cgit v1.2.3