Create an environment.plist
file in ~/Library/LaunchAgents/
with this content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>my.startup</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>
<string>
launchctl setenv PRODUCTS_PATH /Users/mortimer/Projects/my_products
launchctl setenv ANDROID_NDK_HOME /Applications/android-ndk
launchctl setenv PATH $PATH:/Applications/gradle/bin
</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
You can add many launchctl
commands inside the <string></string>
block.
The plist
will activate after system reboot. You can also use launchctl load ~/Library/LaunchAgents/environment.plist
to launch it immediately.
Setting PATH environmental variables in OSX permanently
http://architectryan.com/2012/10/02/add-to-the-path-on-mac-os-x-mountain-lion/#.VzLvFWYabGl
sudo nano /etc/paths
相关推荐
supports several mechanisms for supplying/obtaining configuration andrun-time parameters: command line options, environment variables, thexorg.conf and xorg.conf.d configuration files, auto-detection,...
Setting Up the Simulation Environment.............. 2-8 Setting Up the Default Plot Output.. 2-10 Setting Up the PSS Simulation ........ 2-11 Verifying the Fundamental (Beat) Frequency ... 2-12 ...
a) Common templates are located in ./skin1 and ./skin1/main directories. b) Customer related templates are located in ./skin1/customer directory. c) Administrator related templates are located in...
设置Windows环境变量工具 NVM - eNvironment Variables Manager 1.可以设置用户变量、系统变量,非常方便。 2.可以把环境变量导出成XML文件,不过不能导入 类似的工具有EnvMan,RapidEE。 此工具的源代码可以在...
资源分类:Python库 所属语言:Python 资源全名:traceback-with-variables-1.1.7.2.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
Xcode 6 Start to Finish will help you use Apple’s Xcode 6 tools to improve productivity, write great code, and leverage the newest iOS 8 and OS X Yosemite features, including Apple’s new Swift ...
Probability,Random Variables and Random.Processes
[揭秘系列-复变函数]Complex.Variables.Demystified.pdf
Hormander.-.An.introduction.to.Complex.Analysis.in.Several.Variables
Title: Xcode 5 Start to Finish: iOS and OS X Development Author: Fritz Anderson Length: 624 pages Edition: 1 Language: English Publisher: Addison-Wesley Professional Publication Date: 2014-05-16 ISBN-...
Table of Contents Preface What this book covers What you need for this book Running a Jupyter ...Grouping by continuous variables Getting ready How to do it... How it works... There's more... See also
8.1.1 Environment Variables . . . . . . . . . 101 8.1.2 Local Installation Dependencies . . . . . . . 102 8.1.3 Current Working Directory Dependency . . . . . . 102 8.1.4 Process ID Dependency . . . ....
资源来自pypi官网。 资源全名:variables-0.0.1.tar.gz
Swift is Apple's new, native, fast, and easy to learn programming language for iOS and OS X app development. It's their "Objective-C without the C". If you are an iOS developer or planning to become ...
16)..Added: Support for environment variables in project option's paths 17)..Added: Support for relative file paths and environment variables for events and various module paths 18)..Added: Logging ...
2 Getting In and Out of GDB . . . . . . . . . . . . . . . 11 2.1 Invoking GDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 Choosing files . . . . . . . . . ....
Program Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Working directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Program Input and ...
Using Functions in Your Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . 491 Using include() and require(). . . . . . . . . . . . . . . . . . . . . . . . . . . 492 Appendix DWriting Your ...
[Genoil's fork] was the original source of this version, but as Genoil is no longer consistently maintaining that fork it became almost impossible for developers to get new code merged there. In the ...
plex variables. The task is a bit daunting. This is one of the oldest areas in mathematics, it is beautiful and compelling, and there is a plethora of material. The literature in complex variables is ...