Skip to content

Commit

Permalink
Allow .dir_colors to be a symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
hotpxl authored and indrajitr committed Apr 3, 2024
1 parent c667dd3 commit cc3b6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/utility/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if [[ ${(@M)${(f)"$(ls --version 2>&1)"}:#*(GNU|lsd) *} ]]; then
if (( ! $+LS_COLORS )); then
# Try dircolors when available
if is-callable 'dircolors'; then
eval "$(dircolors --sh $HOME/.dir_colors(.N))"
eval "$(dircolors --sh $HOME/.dir_colors(N))"
else
export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=36;01:cd=33;01:su=31;40;07:sg=36;40;07:tw=32;40;07:ow=33;40;07:'
fi
Expand Down

0 comments on commit cc3b6e0

Please # to comment.