]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - rc
rc: Documentation fix.
[config/dotfiles.git] / rc
diff --git a/rc b/rc
index e49d7668c165b3188a2a2a4faf92a2db90971410..40a044fddb6ffd3422d74de9be647e1c62c926f8 100644 (file)
--- a/rc
+++ b/rc
@@ -1,8 +1,17 @@
 # lftp configuration file.
 
 
-# Display all files (even hidden ones) with 'ls'.
+# Display all files (including hidden ones) with `ls`.
 set ftp:list-options -a
 
 # Store passwords in the bookmarks file.
 set bmk:save-passwords yes
+
+# 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 ../..