summaryrefslogtreecommitdiffstats
path: root/.local/bin/notes
blob: 05ca7c2d5ae7f180c3c1a030b419921819918831 (plain)
1
2
3
4
5
6
7
8
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"