Skip to content

Add completions for lftp #1113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 3, 2025
Merged

Conversation

hongquan
Copy link
Contributor

@hongquan hongquan commented May 3, 2025

lftp is the program which I use when I need to copy many files at once via SSH. Though having FTP in the name, it supports more protocols than just FTP.

This PR provides auto-completion for the "site" argument. Source of sites are:

  • SSH aliases (for SFTP and FISH protocols).
  • LFTP's bookmarks.

image

@fdncred
Copy link
Contributor

fdncred commented May 3, 2025

Looks good. Thanks!

@fdncred fdncred merged commit e824877 into nushell:main May 3, 2025
1 check passed
fdncred pushed a commit that referenced this pull request May 3, 2025
Sorry, in the #1113 , I forgot to test the case that `lftp`'s bookmark
file is not readable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants