From: Simon Ruderich Date: Sat, 30 Mar 2013 02:01:35 +0000 (+0100) Subject: lftp/rc: Enable colors. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=6cbe9c80ef977b169d0bdbbf154a7404077cbe0c lftp/rc: Enable colors. --- diff --git a/lftp/rc b/lftp/rc index 3fd2515..25fd209 100644 --- a/lftp/rc +++ b/lftp/rc @@ -21,6 +21,10 @@ # 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\] % "