]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.shellrc: always pass options -FRX to less
[dotfiles.git] / .profile
index a3981654b8335650b053d99b6a95d4c84c921f73..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
       ;;