Dear Alexander V. Lukyanov and the contributers/users of lftp,
First of all I would like to thank you for the great product you have been developing. I am using lftp all the time! My compliments. I do have a small question which I don't seem to get answered by browsing the internet or the mailing list archive. I have configured an alias named edit: alias edit 'source -e ~/.lftp/edit.sh'. The script ~~/.lftp/edit.shcontains the following commands: #!/bin/sh tempid=$$ echo get $1 -o /tmp/$tempid$1 echo shell vim /tmp/$tempid$1 echo put -E /tmp/$tempid$1 -o $1 echo "!sleep 1" echo "!clear" echo ls -la #end It allows me to edit remote files. The problem I have when expanding or completing filenames is that it expands to local (?) files instead of remote files. Let me give an example: lftp [/plugins/p666_videosection]> ls -la drwxr-xr-x 2 ftp ftp 4096 May 28 01:14 . drwxr-xr-x 17 ftp ftp 4096 May 28 01:12 .. -rw-r--r-- 1 ftp ftp 651 Jun 4 13:53 install.php -rw-r--r-- 1 ftp ftp 1503 Jun 4 14:01 settings.php -rw-r--r-- 1 ftp ftp 114 May 28 02:09 videosection.php lftp [/plugins/p666_videosection]> edit <TAB><TAB> .bash_history .bash_profile .bcpp.cfg .distcc/ .indent.pro .lftp/ .screenrc .subversion/ .viminfo Html/ apr/ bin/ .bash_logout .bashrc .ccache/ .forward .inputrc .netrc .ssh/ .vim/ .vimrc adai/ archive/ tmp/ lftp [/plugins/p666_videosection]> How can I change this behaviour so it will autocomplete the remote files instead of the local files? Any help would be appreciated. Thanks in advance, A very satisfied lftp user!
