mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 12:40:58 +02:00
29916: Completion/Unix/Command/_git: Prevent clash with _remote_files() in _ssh.
This commit is contained in:
parent
d47847c5f5
commit
6540e8d8cf
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-11-24 Simon Ruderich <simon@ruderich.org>
|
||||||
|
|
||||||
|
* 29916: Completion/Unix/Command/_git: Prevent clash with
|
||||||
|
_remote_files() in _ssh.
|
||||||
|
|
||||||
2011-11-24 Peter Stephenson <pws@csr.com>
|
2011-11-24 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
* 29915: Completion/Unix/Command/.distfiles,
|
* 29915: Completion/Unix/Command/.distfiles,
|
||||||
|
@ -15609,5 +15614,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5505 $
|
* $Revision: 1.5506 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -5445,7 +5445,7 @@ __git_tree_files () {
|
||||||
# Repository Argument Types
|
# Repository Argument Types
|
||||||
|
|
||||||
# _remote_files
|
# _remote_files
|
||||||
_remote_files () {
|
_remote_files_git () {
|
||||||
# FIXME: these should be imported from _ssh
|
# FIXME: these should be imported from _ssh
|
||||||
# TODO: this should take -/ to only get directories
|
# TODO: this should take -/ to only get directories
|
||||||
# There should be coloring based on all the different ls -F classifiers.
|
# There should be coloring based on all the different ls -F classifiers.
|
||||||
|
@ -5484,7 +5484,7 @@ __git_remote_repositories () {
|
||||||
service= _ssh
|
service= _ssh
|
||||||
|
|
||||||
if compset -P '*:'; then
|
if compset -P '*:'; then
|
||||||
_remote_files
|
_remote_files_git
|
||||||
else
|
else
|
||||||
_ssh_hosts -S:
|
_ssh_hosts -S:
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue