File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -104,11 +104,6 @@ __gitcomp_direct ()
104
104
compadd -Q -S ' ' -- ${(f)1} && _ret=0
105
105
}
106
106
107
- __gitcomp_direct_append ()
108
- {
109
- __gitcomp_direct " $@ "
110
- }
111
-
112
107
__gitcomp_nl ()
113
108
{
114
109
emulate -L zsh
@@ -117,21 +112,26 @@ __gitcomp_nl ()
117
112
compadd -Q -S " ${4- } " -p " ${2-} " -- ${(f)1} && _ret=0
118
113
}
119
114
120
- __gitcomp_nl_append ()
115
+ __gitcomp_file ()
121
116
{
122
- __gitcomp_nl " $@ "
117
+ emulate -L zsh
118
+
119
+ compadd -f -p " ${2-} " -- ${(f)1} && _ret=0
123
120
}
124
121
125
- __gitcomp_file_direct ()
122
+ __gitcomp_direct_append ()
126
123
{
127
- __gitcomp_file " $1 " ' '
124
+ __gitcomp_direct " $@ "
128
125
}
129
126
130
- __gitcomp_file ()
127
+ __gitcomp_nl_append ()
131
128
{
132
- emulate -L zsh
129
+ __gitcomp_nl " $@ "
130
+ }
133
131
134
- compadd -f -p " ${2-} " -- ${(f)1} && _ret=0
132
+ __gitcomp_file_direct ()
133
+ {
134
+ __gitcomp_file " $1 " " "
135
135
}
136
136
137
137
__git_zsh_bash_func ()
You can’t perform that action at this time.
0 commit comments