summary refs log tree commit diff stats
path: root/system/settings/darwin.nix
diff options
context:
space:
mode:
authorAlan Pearce2023-04-10 15:36:24 +0200
committerAlan Pearce2023-04-10 15:37:00 +0200
commitb60cd054519369b3ddf2f742f6bab4b77ba53848 (patch)
tree930a5eccd8861851d35f552e75c4d1e6dab9fc99 /system/settings/darwin.nix
parente39bcbd60c3e0e6fe7329be15394fb62e4d11f06 (diff)
downloadnixfiles-b60cd054519369b3ddf2f742f6bab4b77ba53848.tar.lz
nixfiles-b60cd054519369b3ddf2f742f6bab4b77ba53848.tar.zst
nixfiles-b60cd054519369b3ddf2f742f6bab4b77ba53848.zip
darwin: fix failure setting zsh option
Diffstat (limited to 'system/settings/darwin.nix')
-rw-r--r--system/settings/darwin.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index 4977c19b..9a61aa01 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -32,7 +32,7 @@
       source /System/Library/Templates/Data/private/etc/zprofile
     '';
     interactiveShellInit = ''
-      if [[ "$(locale LC_CTYPE)" == "UTF-8" ]]; then
+      if [[ "$(/usr/bin/locale LC_CTYPE)" == "UTF-8" ]]; then
         setopt COMBINING_CHARS
       fi
       # Useful support for interacting with Terminal.app or other terminal programs