[PATCH v2 0/2] sftp: Completions tweaks

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



I've noticed that "get" and "put" sftp commands offer correct completion
for the first path (remote/local respectively), but incorrect for the
second path (again, remote/local respectively). By tweaking the code a
bit the completer can offer the right path for both arguments.

This is a v2 of:
https://marc.info/?l=openssh-unix-dev&m=164226681707781&w=2

diff to v1:
- Rebase onto current master as the old version no longer applies
  cleanly.

Michal Privoznik (2):
  sftp: Don't attempt to complete arguments for non-existent commands
  sftp: Be a bit more clever about completions

 sftp.c | 113 ++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 67 insertions(+), 46 deletions(-)

-- 
2.35.1

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux