From 9009f3639fa4e65b4cf582e7e2cc21bdf302ca78 Mon Sep 17 00:00:00 2001 From: Alex Maldonado Date: Sun, 2 Aug 2026 00:40:08 -0400 Subject: [PATCH] fix: ghostty ls colors --- home/modules/zsh.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/modules/zsh.nix b/home/modules/zsh.nix index dd61bed..4ca4f4c 100644 --- a/home/modules/zsh.nix +++ b/home/modules/zsh.nix @@ -35,6 +35,12 @@ }; initContent = '' + # oh-my-zsh assumes macOS => BSD ls and aliases `ls -G`. But GNU + # coreutils `ls` (from nix) is first on PATH, where `-G` means + # --no-group, not color. Override after oh-my-zsh has loaded so ls + # actually colorizes (ll/la/l inherit this via alias expansion). + alias ls='ls --color=auto' + # Conditional Editor logic if [[ -n $SSH_CONNECTION ]]; then export EDITOR='nano'