all repos — nixfiles @ b60cd054519369b3ddf2f742f6bab4b77ba53848

System and user configuration, managed by nix and home-manager

darwin: fix failure setting zsh option
Alan Pearce alan@alanpearce.eu
Mon, 10 Apr 2023 15:36:24 +0200
commit

b60cd054519369b3ddf2f742f6bab4b77ba53848

parent

e39bcbd60c3e0e6fe7329be15394fb62e4d11f06

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M system/settings/darwin.nixsystem/settings/darwin.nix
@@ -32,7 +32,7 @@ loginShellInit = ''       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