X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=lftp%2Frc;h=90ac4984b2138a9e233710f3e99c842a5cdd99cb;hb=768dc140636db44908b517758813d3f4376e1f7d;hp=3717a064d717cc8f816c87ae3b49cd699f377ab4;hpb=1dbafc40422c24094717b4c78cddccba494210c5;p=config%2Fdotfiles.git diff --git a/lftp/rc b/lftp/rc index 3717a06..90ac498 100644 --- a/lftp/rc +++ b/lftp/rc @@ -27,13 +27,17 @@ set bmk:save-passwords yes # 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\] % " +# No retries after a failed connection, prevents (long) delays e.g. for +# automated jobs. +set net:max-retries 1 + # ALIASES # Create "sync" command which syncs local directories with remote ones and # transfers all missing/outdated files. Local files which don't exist anymore # are removed on the server. -alias sync mirror --verbose --reverse --delete --dereference --exclude .DS_Store +alias sync mirror --verbose --reverse --delete --dereference # Create "..", "..." and "...." commands to go up directory in the tree. alias .. cd ..