mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 11:22:23 +00:00
5 lines
238 B
Bash
Executable file
5 lines
238 B
Bash
Executable file
#!/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"
|