From ae83a11790204a95ca6b0f3f8a4156c30703f736 Mon Sep 17 00:00:00 2001 From: jk Date: Sun, 21 Nov 2021 10:16:36 +0100 Subject: [PATCH] style(rg): add shebang, set bash strict mode, create function --- rg/install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 # -- 2.25.1