X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=rc;h=3717a064d717cc8f816c87ae3b49cd699f377ab4;hb=2544371234dd830a3486b58fb4a94d57de130248;hp=ddfdccd3c18823d98d0df7a20082f20384f159a2;hpb=3804c023a14af4bd3410df78215164749a48dc01;p=config%2Fdotfiles.git diff --git a/rc b/rc index ddfdccd..3717a06 100644 --- a/rc +++ b/rc @@ -1,5 +1,20 @@ # 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 @@ -9,6 +24,9 @@ set ftp:list-options -a # Store passwords in the bookmarks file. 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\] % " + # ALIASES @@ -17,6 +35,7 @@ set bmk:save-passwords yes # are removed on the server. alias sync mirror --verbose --reverse --delete --dereference --exclude .DS_Store -# Create ".." and "..." commands to go up directory in the tree. +# Create "..", "..." and "...." commands to go up directory in the tree. alias .. cd .. alias ... cd ../.. +alias .... cd ../../..