dotfiles/bin/tmux-edit-history

4 lines
156 B
Bash
Executable file

#!/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"