-{
- set -e
- set -u
+#!/bin/bash
+set -e
+set -u
+
+function __init_rg() {
###################
# Install ripgrep #
# +SIMD -AVX (runtime)
# This trims it down to just the version number:
# 12.1.1
- echo $(rg --version 2>/dev/null | head -n 1 | cut -d ' ' -f 2)
+ echo $(rg --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2)
}
}
+
+__init_rg