dotfiles with stow
This commit is contained in:
6
config/.scripts/open-note.sh
Executable file
6
config/.scripts/open-note.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
FILE=$(rg --no-heading -n . | fzf)
|
||||
FILEPATH=$(echo $FILE | sed 's/:.*//')
|
||||
NUMBER=$(echo $FILE | cut -d':' -f2)
|
||||
kak +$NUMBER $FILEPATH
|
||||
Reference in New Issue
Block a user