diff options
Diffstat (limited to '.local/bin/notes')
| -rwxr-xr-x | .local/bin/notes | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/notes b/.local/bin/notes new file mode 100755 index 0000000..05ca7c2 --- /dev/null +++ b/.local/bin/notes @@ -0,0 +1,9 @@ +#!/usr/bin/bash +set -euo pipefail + +# Open the notes directory in foot, inside a persistent tmux session named +# "notes" (stolen if it already exists), landing straight into an fzf picker +cd "$NOTES_DIR" +exec foot --app-id=notes -- \ + tmux new-session -A -D -s notes -- \ + nvim -c "NotesFindTags" |
