Update dotfiles/.profile

This commit is contained in:
Brian Zalewski 2022-10-25 05:44:59 +00:00
parent 6fe1e2fcbf
commit a8d4e4a867

View file

@ -235,7 +235,7 @@ export LANG="en_US"
# https://github.com/trapd00r/LS_COLORS
command -v gdircolors >/dev/null 2>&1 || alias gdircolors="dircolors"
if which gdircolors > /dev/null && [ -f "$HOME/.config/dircolors" ]; then
if type gdircolors &> /dev/null && [ -f "$HOME/.config/dircolors" ]; then
eval "$(gdircolors -b "$HOME/.config/dircolors")"
fi