forked from adam8157/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
24 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,22 +5,18 @@ alias utf8 set ftp:charset UTF-8; set file:charset UTF-8 | |
alias edit "eval -f \"get $0 -o ~/.lftp/edit.tmp.$$ && shell \\\"cp -p ~/.lftp/edit.tmp.$$ ~/.lftp/edit.tmp.$$.orig && $EDITOR ~/.lftp/edit.tmp.$$ && test ~/.lftp/edit.tmp.$$ -nt ~/.lftp/edit.tmp.$$.orig\\\" && put ~/.lftp/edit.tmp.$$ -o $0; shell rm -f ~/.lftp/edit.tmp.$$*\"" | ||
|
||
## make prompt look better | ||
#set prompt "lftp \S\? \u\@\h:\w> " | ||
## some may prefer colors (contributed by Matthew <[email protected]>) | ||
set prompt "\[\e[0;30m\][\[\e[0;34m\]f\[\e[1m\]t\[\e[37m\]p\[\e[0;30m\]] \[\e[1;32m\]\u\[\e[0;33m\]\@\[\e[1;31m\]\h\[\e[0;30m\]:\[\e[1;34m\]\w\[\e[0;30m\]>\[\e[0m\] " | ||
|
||
## if default ftp passive mode does not work, try this: | ||
# set ftp:passive-mode off | ||
## Terminal strings to set titlebars | ||
set cmd:set-term-status on | ||
set cmd:term-status/*screen* "\e_\T\e\\" | ||
set cmd:term-status/*xterm* "\e[11;0]\e]2;\T\007\e[11]" | ||
|
||
## Set this to follow http redirections | ||
set xfer:max-redirections 10 | ||
|
||
## Terminal strings to set titlebars for terminals that don't | ||
## properly specify tsl and fsl capabilities. | ||
## Use cmd:set-term-status to enable this. | ||
set cmd:set-term-status on | ||
set cmd:term-status/*screen* "\e_\T\e\\" | ||
set cmd:term-status/*xterm* "\e[11;0]\e]2;\T\007\e[11]" | ||
## if default ftp passive mode does not work, try this: | ||
# set ftp:passive-mode off | ||
|
||
## If you don't like advertising lftp or servers hate it, set this: | ||
# set ftp:anon-pass "mozilla@" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters