[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-unix-dev
Subject:    [PATCH 0/2] sftp: Completions tweaks
From:       Michal Privoznik <mprivozn () redhat ! com>
Date:       2022-01-15 17:00:23
Message-ID: cover.1642265394.git.mprivozn () redhat ! com
[Download RAW message or body]

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.

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

 sftp.c | 109 ++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 65 insertions(+), 44 deletions(-)

-- 
2.34.1

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic