Use /usr/bin/env for bash and zsh files
This commit is contained in:
parent
1033f4b8ed
commit
6f7c54d8f7
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
if [ -r "$HOME/.profile" ]
|
if [ -r "$HOME/.profile" ]
|
||||||
then
|
then
|
||||||
. "$HOME/.profile"
|
. "$HOME/.profile"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
if [ -r "$HOME/.shrc" ]
|
if [ -r "$HOME/.shrc" ]
|
||||||
then
|
then
|
||||||
. "$HOME/.shrc"
|
. "$HOME/.shrc"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/zsh
|
#!/usr/bin/env zsh
|
||||||
if [ -r "$HOME/.profile" ]
|
if [ -r "$HOME/.profile" ]
|
||||||
then
|
then
|
||||||
emulate sh -c '. "$HOME/.profile"'
|
emulate sh -c '. "$HOME/.profile"'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/zsh
|
#!/usr/bin/env zsh
|
||||||
if [ -r "$HOME/.shrc" ]
|
if [ -r "$HOME/.shrc" ]
|
||||||
then
|
then
|
||||||
emulate sh -c '. "$HOME/.shrc"'
|
emulate sh -c '. "$HOME/.shrc"'
|
||||||
|
|
Loading…
Reference in a new issue