zsh-workers
 help / color / mirror / code / Atom feed
* New _cd ignores matching specs
@ 2001-07-02  6:15 Andrej Borsenkow
  2001-07-02  6:52 ` PATCH: " Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Andrej Borsenkow @ 2001-07-02  6:15 UTC (permalink / raw)
  To: ZSH Workers Mailing List

bor@itsrm2% cd z-4TAB
No matches for: `user', `named directory', `local directories', or
`directories in cdpath'

bor@itsrm2% cd zTAB
bor@itsrm2% cd zip-2.3/
Completing directories in cdpath
zip-2.3/     zlib-1.1.3/  zsh/         zsh-4.0.x/

-andrej


^ permalink raw reply	[flat|nested] 2+ messages in thread

* PATCH: Re: New _cd ignores matching specs
  2001-07-02  6:15 New _cd ignores matching specs Andrej Borsenkow
@ 2001-07-02  6:52 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2001-07-02  6:52 UTC (permalink / raw)
  To: Andrej Borsenkow, ZSH Workers Mailing List

On Jul 2, 10:15am, Andrej Borsenkow wrote:
} Subject: New _cd ignores matching specs
}
} bor@itsrm2% cd z-4TAB
} No matches for: `user', `named directory', `local directories', or
} `directories in cdpath'
} 
} bor@itsrm2% cd zTAB
} bor@itsrm2% cd zip-2.3/
} Completing directories in cdpath
} zip-2.3/     zlib-1.1.3/  zsh/         zsh-4.0.x/

The problem isn't with _cd, it's with _tilde.

--- zsh-forge/current/Completion/Zsh/Context/_tilde	Thu Jun 28 01:35:36 2001
+++ zsh-4.0/Completion/Zsh/Context/_tilde	Sun Jul  1 23:49:39 2001
@@ -6,7 +6,7 @@
 
 [[ -n "$compstate[quote]" ]] && return 1
 
-local expl suf ret
+local expl suf ret=1
 
 if [[ "$SUFFIX" = */* ]]; then
   ISUFFIX="/${SUFFIX#*/}$ISUFFIX"
@@ -28,3 +28,5 @@
 
   (( ret )) || return 0
 done
+
+return ret

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-02  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-02  6:15 New _cd ignores matching specs Andrej Borsenkow
2001-07-02  6:52 ` PATCH: " Bart Schaefer

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).