From a8d4e4a8673ab46a5a4caa89d64f112d39d3297b Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 25 Oct 2022 05:44:59 +0000 Subject: [PATCH] Update dotfiles/.profile --- dotfiles/.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.profile b/dotfiles/.profile index 66133aec..cdc9eac4 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -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