* PATCH: _source
@ 2000-03-13 15:01 Oliver Kiddle
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Kiddle @ 2000-03-13 15:01 UTC (permalink / raw)
To: Zsh workers
The source builtin was only completing for the current directory and .
was not included in the completion.
Could someone who has been tracking all the patches please check if
gdiff is still listed in _use_lo instead of _diff. I'd submit a patch
to move it but suspect that I'm out-of-date there.
Oliver Kiddle
--- Completion/Builtins/_source.bak Mon Mar 13 12:54:34 2000
+++ Completion/Builtins/_source Mon Mar 13 14:38:02 2000
@@ -1,8 +1,14 @@
-#compdef source
+#compdef source .
if [[ CURRENT -ge 3 ]]; then
compset -n 2
_normal
else
- _files
+ if [[ -prefix */ && ! -o pathdirs ]]; then
+ _files
+ elif [[ $words[1] = . ]]; then
+ _files -W path
+ else
+ _files -W "(. $path)"
+ fi
fi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: _source
@ 2000-03-13 15:08 Sven Wischnowsky
0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-03-13 15:08 UTC (permalink / raw)
To: zsh-workers
Oliver Kiddle wrote:
> Could someone who has been tracking all the patches please check if
> gdiff is still listed in _use_lo instead of _diff. I'd submit a patch
> to move it but suspect that I'm out-of-date there.
I sent a patch for this in 10044.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-03-13 15:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-13 15:01 PATCH: _source Oliver Kiddle
2000-03-13 15:08 Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).