fix: ghostty ls colors
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user