zero-system: update zshrc to protect dircolors

This commit is contained in:
Rick Farina (Zero_Chaos) 2026-02-19 10:52:14 -05:00
parent fbda372bea
commit 7e61198b18
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -26,7 +26,9 @@ HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
eval $(dircolors -b /etc/DIR_COLORS)
if [ -f '/etc/DIR_COLORS' ] && [ -x "$(command -v dircolors)" ]; then
eval $(dircolors -b /etc/DIR_COLORS)
fi
alias mv='nocorrect mv'
alias cp='nocorrect cp'