Merge pull request #294 from TouchInstinct/feature/export_custom_profile

Add .zprofile exporting
This commit is contained in:
Александр 2021-12-20 11:34:11 +03:00 committed by GitHub
commit 2799169e21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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