# TODO: Why do we need this here again? What overrides it after being executed # in 20-completion.zsh? # Colors zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # Preview files and folders # NOTE: Find out more about current context with h (( $+commands[bat] )) && file_prev_cmd="bat --color=always" || file_prev_cmd=cat (( $+commands[tree] )) && dir_prev_cmd="tree -C" || dir_prev_cmd=ls read -r -d '' preview_cmd <