X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=rc;h=ddfdccd3c18823d98d0df7a20082f20384f159a2;hb=3804c023a14af4bd3410df78215164749a48dc01;hp=e49d7668c165b3188a2a2a4faf92a2db90971410;hpb=216b6f45986b8e39c90b5b626a1d751955644e20;p=config%2Fdotfiles.git diff --git a/rc b/rc index e49d766..ddfdccd 100644 --- a/rc +++ b/rc @@ -1,8 +1,22 @@ # lftp configuration file. -# Display all files (even hidden ones) with 'ls'. +# SETTINGS + +# Display all files (including hidden ones) with `ls`. set ftp:list-options -a # Store passwords in the bookmarks file. set bmk:save-passwords yes + + +# 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 + +# Create ".." and "..." commands to go up directory in the tree. +alias .. cd .. +alias ... cd ../..