diff options
| author | Paul Buetow <paul@buetow.org> | 2025-04-30 15:00:58 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-04-30 15:00:58 +0300 |
| commit | 54404eec7e2090cb94ecd0b9cb42547b2b250a65 (patch) | |
| tree | 8dcc62667beee97937329efd4b1ad7e62631ab83 | |
| parent | 25d691e2d14aa3b260200e1ceaacc47d438f2252 (diff) | |
Update
| -rw-r--r-- | dotfiles/fish/conf.d/editor.fish | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
