aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Linskey2026-06-01 21:32:32 -0400
committerBenjamin Linskey2026-06-01 21:32:32 -0400
commit2bf4968e9339b0a99f27a0866a4521eb2e557df3 (patch)
tree2a72ac9f10f6e0f41977ae75ed92b77533e659ab
parente6689b52e5b9f22ef353d093c33d57627a63309a (diff)
downloaddotfiles-2bf4968e9339b0a99f27a0866a4521eb2e557df3.tar.gz

Fix .editorconfig with separate src volume on Mac

-rwxr-xr-xinstall.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 8647589..23e98af 100755
--- a/install.sh
+++ b/install.sh
@@ -40,6 +40,13 @@ if [ "$(uname)" = FreeBSD ]; then
ln -sf freebsd/.editrc "$HOME"
fi
+# When using a separate case-sensitive volume for src on Mac, we need to put
+# a copy of .editorconfig at the root of that filesystem.
+#
+if [ "$(uname)" = Darwin ]; then
+ ln -sf "$PWD"/.editorconfig /Volumes/src/.editorconfig
+fi
+
if [ "$(uname)" = Linux ]; then
ln -sf "$HOME"/.profile "$HOME"/.bash_profile;
ln -sf "$HOME"/.shrc "$HOME"/.bashrc;