[PATCH 0/2] sftp: Completions tweaks
Michal Privoznik
mprivozn at redhat.com
Sun Jan 16 04:00:23 AEDT 2022
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
More information about the openssh-unix-dev
mailing list