/lftp-completion

tab completion for lftp bookmarks

Primary LanguageShell

lftp-completion - tab completion for lftp bookmarks

EXAMPLE

$ lftp ftp://myserver.com/
> bookmark myserver
> quit

$ lftp my[TAB]
$ lftp myserver

INSTALL

Download lftp-completion.sh and place into $HOME:

wget -O $HOME/lftp-completion.sh https://raw.githubusercontent.com/mcandre/lftp-completion/master/lib/lftp-completion.sh

Then configure your $HOME/.bash_profile or similar shell configuration to use lftp-completion:

# lftp-completion
# See https://raw.githubusercontent.com/mcandre/lftp-completion/master/lib/lftp-completion.sh
. $HOME/lftp-completion.sh

Then update your shell:

$ source $HOME/.bash_profile

REQUIREMENTS

Recommended

DEVELOPMENT

Lint

$ vast [lint]

CREDITS

Inspired by git prompt.