Merge pull request #294 from TouchInstinct/feature/export_custom_profile
Add .zprofile exporting
This commit is contained in:
commit
2799169e21
|
|
@ -33,7 +33,7 @@ function source_home_file {
|
||||||
|
|
||||||
# Use specific exec due to Xcode has custom value of $PATH
|
# Use specific exec due to Xcode has custom value of $PATH
|
||||||
if [ -z "$(which $1)" ]; then
|
if [ -z "$(which $1)" ]; then
|
||||||
source_home_file ".bash_profile" || source_home_file ".zshrc" || true
|
source_home_file ".bash_profile" || source_home_file ".zshrc" || source_home_file ".zprofile" || true
|
||||||
|
|
||||||
echo "User defined enviroment has been set for ${1}"
|
echo "User defined enviroment has been set for ${1}"
|
||||||
fi
|
fi
|
||||||
Loading…
Reference in New Issue