Add complete edit history using fre

This commit is contained in:
Daniel Lundin 2024-04-01 11:04:47 +02:00
parent 6bc5bcee50
commit 182abc1ad0
5 changed files with 12 additions and 2 deletions

4
bin/tmux-edit-history Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -eo pipefail
_file=$(fre --store_name edit-history --sorted | exec fzf --no-sort)
[ -n "$_file" ] && exec tmux-edit-helper "$_file"