mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
6 lines
238 B
Text
6 lines
238 B
Text
|
#!/bin/bash
|
||
|
selected=$(cat /home/leon/scripts/bookmarks/config_files | awk '{print $1}' | fzf)
|
||
|
test "$selected" = "" && exit 1
|
||
|
file=$(grep "$selected" /home/leon/scripts/bookmarks/config_files | sed -r 's/^\w*\s+(.*)$/\1/g')
|
||
|
nvim "$file"
|