From: jk Date: Sun, 21 Nov 2021 09:16:36 +0000 (+0100) Subject: style(rg): add shebang, set bash strict mode, create function X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=ae83a11790204a95ca6b0f3f8a4156c30703f736;p=webi-installers%2F.git style(rg): add shebang, set bash strict mode, create function --- diff --git a/rg/install.sh b/rg/install.sh index f979399..2e7489d 100644 --- a/rg/install.sh +++ b/rg/install.sh @@ -1,6 +1,9 @@ -{ - set -e - set -u +#!/bin/bash +set -e +set -u + +function __install_rg() { + ################### # Install ripgrep #