dotfiles/.scripts/open-note.sh

7 lines
145 B
Bash
Raw Normal View History

2024-07-03 20:44:47 +01:00
#!/bin/sh
FILE=$(rg --no-heading -n . | fzf)
FILEPATH=$(echo $FILE | sed 's/:.*//')
NUMBER=$(echo $FILE | cut -d':' -f2)
kak +$NUMBER $FILEPATH