summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/settings/darwin.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index 8fe08a4e..996e5ca9 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -11,6 +11,11 @@
     enableCompletion = false; # Causes >2s startup time, overlaps home-manager config
     enableBashCompletion = true;
     loginShellInit = builtins.readFile "/System/Library/Templates/Data/private/etc/zprofile";
+    interactiveShellInit = ''
+      if [[ "$(locale LC_CTYPE)" == "UTF-8" ]]; then
+        setopt COMBINING_CHARS
+      fi
+    '';
   };
 
   environment.systemPackages = with pkgs; [