-
-
Save n8felton/df2206f61e2b2ee9529452b331086650 to your computer and use it in GitHub Desktop.
Darwin Environment Variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# User path | |
/usr/bin/getconf DARWIN_USER_DIR | |
# Temp directory | |
# Note - $TMPDIR is the same as this | |
/usr/bin/getconf DARWIN_USER_TEMP_DIR | |
# Cache directory | |
/usr/bin/getconf DARWIN_USER_CACHE_DIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment