1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 10:41:06 +01:00
Files
niveum/packages/scripts/vg.sh

8 lines
118 B
Bash
Raw Normal View History

2020-04-09 16:56:47 +02:00
#!/bin/bash
file="$(rg "$@" | fzf -0 -1 | awk -F: '{print $1}')"
if [[ -n $file ]]
then
${EDITOR:-vim} "$file"
fi