]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.shellrc: always pass options -FRX to less
[dotfiles.git] / .profile
index 370bb752c217d8599034c45d6b63ff61b92f805f..5eab941ba26d926872315dae0c00efcc05c9c8f7 100644 (file)
--- 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="FRXgimq"
    case "$LC_CTYPE" in
       *UTF-8) LESSCHARSET=utf-8
       ;;