dotfiles/config/.scripts/open-note.sh
2024-09-05 19:14:30 -04:00

7 lines
145 B
Bash
Executable File

#!/bin/sh
FILE=$(rg --no-heading -n . | fzf)
FILEPATH=$(echo $FILE | sed 's/:.*//')
NUMBER=$(echo $FILE | cut -d':' -f2)
kak +$NUMBER $FILEPATH