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:
7
packages/scripts/vg.sh
Executable file
7
packages/scripts/vg.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
file="$(rg "$@" | fzf -0 -1 | awk -F: '{print $1}')"
|
||||
|
||||
if [[ -n $file ]]
|
||||
then
|
||||
${EDITOR:-vim} "$file"
|
||||
fi
|
||||
Reference in New Issue
Block a user