Add complete edit history using fre
This commit is contained in:
parent
6bc5bcee50
commit
182abc1ad0
5 changed files with 12 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -exo pipefail
|
||||
set -eo pipefail
|
||||
|
||||
eval "$(direnv export bash 2>/dev/null)"
|
||||
|
||||
|
@ -16,6 +16,8 @@ else
|
|||
fre --store_name "$_store" --add "$_file"
|
||||
fi
|
||||
|
||||
fre --store_name "edit-history" --add "$_file"
|
||||
|
||||
(tmux select-window -t helix &&
|
||||
tmux send-keys -t helix Escape &&
|
||||
tmux send-keys -t helix ":open ${_file}" Enter) || tmux new-window -t 42 -n helix helix "${_file}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue