From: Simon Ruderich Date: Fri, 6 Mar 2009 15:00:49 +0000 (+0100) Subject: Initial import. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=961b6536d582cde4625579b78abaa796c71db7e6;p=config%2Fdotfiles.git Initial import. Add setup.sh script and environment.plist for Mac OS X. --- 961b6536d582cde4625579b78abaa796c71db7e6 diff --git a/darwin/environment.plist b/darwin/environment.plist new file mode 100644 index 0000000..6c87ec5 --- /dev/null +++ b/darwin/environment.plist @@ -0,0 +1 @@ +{ PATH = "/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin"; } diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..7734624 --- /dev/null +++ b/setup.sh @@ -0,0 +1,11 @@ +# Setup script for OS related configuration files. + + +. ../lib.sh + +# Link setup. +if [ `os` = darwin ]; then + # Sets a custom PATH for GUI applications. + mkdir -p ~/.MacOSX + link darwin/environment.plist ~/.MacOSX/environment.plist +fi