11/13/2023 0 Comments Zsh set environment variable![]() ![]() ➜ ~ echo "export JAVA_HOME=/your/path" > ~/.bash_profile (using cat to print file content to verify is ok) ➜ ~ cat ~/.bash_profileĮxport THEOS_MAKE_PATH=$(THEOS)/makefilesĮxport THEOS_VENDOR_LIBRARY_PATH=$(THEOS)/vendor/libĮxport THEOS_INCLUDE_PATH=$(THEOS)/includeĮxport THEOS_VENDOR_INCLUDE_PATH=$(THEOS)/vendor/includeĮxport THEOS_FALLBACK_INCLUDE_PATH=$(THEOS)/include/_fallback Using text editor, such as vi / vim / nano / echoĮcho "export JAVA_HOME=/your/path" > ~/.bash_profile Then you can edit the boot script ~/.bash_profile ![]() Touch ~/.bash_profile add your environment variable into your boot script rw-r-r- 1 crifan staff 461B 10 28 2021 /Users/crifan/.bash_profile You are using bash, related boot script is ~/.bash_profile ➜ ~ ls -lh ~/.bash_profile Then make sure you already have your boot script
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |