]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - rc
rc: Add .... command.
[config/dotfiles.git] / rc
1 # lftp configuration file.
2
3
4 # SETTINGS
5
6 # Display all files (including hidden ones) with `ls`.
7 set ftp:list-options -a
8
9 # Store passwords in the bookmarks file.
10 set bmk:save-passwords yes
11
12 # Use a colorized prompt. Hostname in green, current directory in blue.
13 set cmd:prompt "lftp \[\e[01;32m\]\h\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\] % "
14
15
16 # ALIASES
17
18 # Create "sync" command which syncs local directories with remote ones and
19 # transfers all missing/outdated files. Local files which don't exist anymore
20 # are removed on the server.
21 alias sync mirror --verbose --reverse --delete --dereference --exclude .DS_Store
22
23 # Create "..", "..." and "...." commands to go up directory in the tree.
24 alias .. cd ..
25 alias ... cd ../..
26 alias .... cd ../../..