feature(windows): make it more clear that the user needs to update their PATH
[webi-installers/.git] / rg / install.sh
index f97939963de3c7fc1a84c5e0fd9202344e5673a8..397e1a90c5a7a6ab5cd6c15cd75af81dab4475d5 100644 (file)
@@ -1,6 +1,8 @@
-{
-    set -e
-    set -u
+#!/bin/bash
+set -e
+set -u
+
+function __init_rg() {
 
     ###################
     # Install ripgrep #
@@ -36,3 +38,5 @@
         echo $(rg --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2)
     }
 }
+
+__init_rg