From 8adf27b1ea6bdf337c63a4e0919853f7951b94e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Alc=C3=A2ntara?= Date: Tue, 19 Oct 2021 09:50:39 -0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a96faa21..60a00f38 100644 --- a/README.md +++ b/README.md @@ -64,8 +64,8 @@ GO111MODULE=on go get github.com/zricethezav/gitleaks/v7 ``` ##### From bin: -Curl required: -``` #!/bin/bash + +```bash GITLEAKS_VERSION=$(curl -s https://api.github.com/repos/zricethezav/gitleaks/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")') && wget https://github.com/zricethezav/gitleaks/releases/download/$GITLEAKS_VERSION/gitleaks-linux-amd64 mv gitleaks-linux-amd64 gitleaks chmod +x gitleaks