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" ]
|
||||
then
|
||||
. "$HOME/.profile"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
if [ -r "$HOME/.shrc" ]
|
||||
then
|
||||
. "$HOME/.shrc"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/zsh
|
||||
#!/usr/bin/env zsh
|
||||
if [ -r "$HOME/.profile" ]
|
||||
then
|
||||
emulate sh -c '. "$HOME/.profile"'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/zsh
|
||||
#!/usr/bin/env zsh
|
||||
if [ -r "$HOME/.shrc" ]
|
||||
then
|
||||
emulate sh -c '. "$HOME/.shrc"'
|
||||
|
|
Loading…
Reference in a new issue