1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

42491 based on 42000 (Andrei Shevchuk): factor ssh host completion for use for mosh and git

This commit is contained in:
Oliver Kiddle 2018-03-24 00:09:12 +01:00
parent f1a52c23fa
commit 4977ec1398
5 changed files with 58 additions and 50 deletions

View file

@ -6892,10 +6892,6 @@ __git_tree_files () {
(( $+functions[__git_remote_repositories] )) ||
__git_remote_repositories () {
local service
service= _ssh
if compset -P '*:'; then
_remote_files -/ -- ssh
else