2007-09-05

lftp colors

Time ago when I was using Red Hat Linux 9.0, lftp's `ls' command could show different colors for different types of files, just like what the Linux's `ls' command did. It's cool and I like it. But after I switched to Ubuntu 6.06 lftp's colors have gone! I got back a Red Hat 9.0 box and run lftp and typed `set -a'. From the output I got 2 lftp settings: color:use-color and color:dir-colors. Seems good. Copy these 2 settings out and save as ~/.lftprc. All is done. Enjoy lftp'ing.

No comments: