]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Initial import.
authorSimon Ruderich <simon@ruderich.org>
Fri, 6 Mar 2009 15:00:49 +0000 (16:00 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 6 Mar 2009 15:00:49 +0000 (16:00 +0100)
Add setup.sh script and environment.plist for Mac OS X.

darwin/environment.plist [new file with mode: 0644]
setup.sh [new file with mode: 0755]

diff --git a/darwin/environment.plist b/darwin/environment.plist
new file mode 100644 (file)
index 0000000..6c87ec5
--- /dev/null
@@ -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 (executable)
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