Use /usr/bin/env for bash and zsh files

This commit is contained in:
Anthony Rose 2022-09-18 21:20:44 +01:00
parent 1033f4b8ed
commit 6f7c54d8f7
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ -r "$HOME/.profile" ]
then
. "$HOME/.profile"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ -r "$HOME/.shrc" ]
then
. "$HOME/.shrc"

View file

@ -1,4 +1,4 @@
#!/bin/zsh
#!/usr/bin/env zsh
if [ -r "$HOME/.profile" ]
then
emulate sh -c '. "$HOME/.profile"'

View file

@ -1,4 +1,4 @@
#!/bin/zsh
#!/usr/bin/env zsh
if [ -r "$HOME/.shrc" ]
then
emulate sh -c '. "$HOME/.shrc"'