1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 11:31:09 +01:00

chore(packages): reorganize scripts

This commit is contained in:
Kierán Meinhardt
2020-04-09 16:56:47 +02:00
parent 4abc0f4221
commit c6c621baf1
26 changed files with 230 additions and 189 deletions

7
packages/scripts/vg.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
file="$(rg "$@" | fzf -0 -1 | awk -F: '{print $1}')"
if [[ -n $file ]]
then
${EDITOR:-vim} "$file"
fi