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:
parent
f1a52c23fa
commit
4977ec1398
5 changed files with 58 additions and 50 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue