]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
lftp/rc: Enable colors.
authorSimon Ruderich <simon@ruderich.org>
Sat, 30 Mar 2013 02:01:35 +0000 (03:01 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 30 Mar 2013 02:01:35 +0000 (03:01 +0100)
lftp/rc

diff --git a/lftp/rc b/lftp/rc
index 3fd251579751d1d79f18e876339d6d951d4f3d7e..25fd209f30ff29609cd2ff3d076cd908abf721d0 100644 (file)
--- a/lftp/rc
+++ b/lftp/rc
 # Display all files (including hidden ones) with `ls`.
 set ftp:list-options -a
 
+# Enable colors in interactive mode. Used by e.g. directory listings (which
+# use $LS_COLORS).
+set color:use-color auto
+
 # Use a colorized prompt. Hostname in green, current directory in blue.
 set cmd:prompt "lftp \[\e[01;32m\]\h\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\] % "