X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=lftp%2Frc;h=ac70f49a740338b8dd87398ec1a3656abd76c8c2;hb=8fac741a66fb10d3389f116daa52722ea0745b82;hp=f94041b25c7317f6b82b1217d1a91f422b079267;hpb=cabf61c0763cf91a7b4fe48ec1e0775ae12e7d5e;p=config%2Fdotfiles.git diff --git a/lftp/rc b/lftp/rc index f94041b..ac70f49 100644 --- a/lftp/rc +++ b/lftp/rc @@ -21,13 +21,24 @@ # Display all files (including hidden ones) with `ls`. set ftp:list-options -a -# Use a colorized prompt. Hostname in green, current directory in blue. +# 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 bold green, current directory in bold +# blue. set cmd:prompt "lftp \[\e[01;32m\]\h\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\] % " # Store passwords in the bookmarks file. set bmk:save-passwords yes +# Don't store current directory of each server in ~/.lftp/cwd_history. +set cmd:save-cwd-history no +# Don't store transfer logs in ~/.lftp/transfer_log. +set xfer:log no + + # No retries after a failed connection, prevents (long) delays e.g. for # automated jobs. set net:max-retries 1