dots-of-war/files/scripts/conf
2020-05-13 10:47:11 +02:00

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"