X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.profile;h=564c40fb73eb26157692264ac75ce4d5c4602cdf;hp=370bb752c217d8599034c45d6b63ff61b92f805f;hb=84e68b1fc87491881b3262b05347cdd871b1a119;hpb=f2763b86760c3b58c1665b0476730aa4db80d858 diff --git a/.profile b/.profile index 370bb75..564c40f 100644 --- a/.profile +++ b/.profile @@ -75,8 +75,12 @@ if [ -t 0 ] ; then ;; esac + if [ -x /usr/bin/dircolors ]; then + test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" + fi + PAGER=less - LESS="-gimq" + LESS="gimq" case "$LC_CTYPE" in *UTF-8) LESSCHARSET=utf-8 ;;