diff --git a/.hooks/pre-commit.sh b/.hooks/pre-commit.sh index 5b139ec3..9e89e957 100755 --- a/.hooks/pre-commit.sh +++ b/.hooks/pre-commit.sh @@ -1,3 +1,3 @@ -#!/bin/sh +#!/usr/bin/env sh make diff --git a/scripts/doc-comments.sh b/scripts/doc-comments.sh index c31bbeae..2b49e809 100755 --- a/scripts/doc-comments.sh +++ b/scripts/doc-comments.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash out=$(grep -nr "^--- @" lua) diff --git a/scripts/help-update.sh b/scripts/help-update.sh index 474e259d..b888e61c 100755 --- a/scripts/help-update.sh +++ b/scripts/help-update.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # run after changing nvim-tree.lua DEFAULT_OPTS or keymap.lua M.default_on_attach # scrapes and updates nvim-tree-lua.txt diff --git a/scripts/luals-check.sh b/scripts/luals-check.sh index 0a6de31d..9d1e31f3 100755 --- a/scripts/luals-check.sh +++ b/scripts/luals-check.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # Performs a lua-language-server check on all files. # luals-out/check.json will be produced on any issues, returning 1.