]> arthur.barton.de Git - ax-zsh.git/blob - default_plugins/ls/ls.zprofile
ls: Add support for "lscolors.sh"
[ax-zsh.git] / default_plugins / ls / ls.zprofile
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # ls.zshrc: Setup ls(1)
3
4 if [[ -r ~/.local/share/lscolors.sh ]]; then
5         # Read lscolors.sh, which should set LS_COLORS;
6         # see <https://github.com/trapd00r/LS_COLORS>.
7         source ~/.local/share/lscolors.sh
8 elif (( $+commands[dircolors] )); then
9         # Use dircolors(1):
10         eval $(dircolors)
11 fi