From 6f7c54d8f715c678df290c357517860050ca63b3 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 18 Sep 2022 21:20:44 +0100 Subject: [PATCH] Use /usr/bin/env for bash and zsh files --- roles/home-cli/files/bash_profile | 2 +- roles/home-cli/files/bashrc | 2 +- roles/home-cli/files/zprofile | 2 +- roles/home-cli/files/zshrc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/home-cli/files/bash_profile b/roles/home-cli/files/bash_profile index 5821b13..86281ac 100644 --- a/roles/home-cli/files/bash_profile +++ b/roles/home-cli/files/bash_profile @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ -r "$HOME/.profile" ] then . "$HOME/.profile" diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index 6b405f6..aa9417c 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ -r "$HOME/.shrc" ] then . "$HOME/.shrc" diff --git a/roles/home-cli/files/zprofile b/roles/home-cli/files/zprofile index 822f8fb..87914f0 100644 --- a/roles/home-cli/files/zprofile +++ b/roles/home-cli/files/zprofile @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh if [ -r "$HOME/.profile" ] then emulate sh -c '. "$HOME/.profile"' diff --git a/roles/home-cli/files/zshrc b/roles/home-cli/files/zshrc index b429de3..e5d7f01 100644 --- a/roles/home-cli/files/zshrc +++ b/roles/home-cli/files/zshrc @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh if [ -r "$HOME/.shrc" ] then emulate sh -c '. "$HOME/.shrc"'