X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=lftp%2Frc;h=ac70f49a740338b8dd87398ec1a3656abd76c8c2;hb=HEAD;hp=1d76629bfb25b4e97468bc177df5833dbdcdbdda;hpb=c0ac5569ef943a2f5f828706d2d38de9f655e295;p=config%2Fdotfiles.git diff --git a/lftp/rc b/lftp/rc deleted file mode 100644 index 1d76629..0000000 --- a/lftp/rc +++ /dev/null @@ -1,46 +0,0 @@ -# lftp configuration file. - -# Copyright (C) 2007-2013 Simon Ruderich -# -# This file is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This file is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this file. If not, see . - - -# SETTINGS - -# Display all files (including hidden ones) with `ls`. -set ftp:list-options -a - -# 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\] % " - - -# Store passwords in the bookmarks file. -set bmk:save-passwords yes - -# 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 - -# Create commands to go up directories. -alias .. cd .. -alias ... cd ../.. -alias .... cd ../../..