Last active
March 30, 2023 17:07
-
-
Save carlashley/20c4bcb07f106766c63a1cb325c1df59 to your computer and use it in GitHub Desktop.
Darwin Environment Variables
This file contains 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