zsh-users
 help / color / mirror / code / Atom feed
* filename completion question...
@ 1996-10-18 20:07 John S Cooper
  1996-10-18 21:33 ` Vincent Lefevre
  1996-10-18 21:39 ` Zoltan Hidvegi
  0 siblings, 2 replies; 3+ messages in thread
From: John S Cooper @ 1996-10-18 20:07 UTC (permalink / raw)
  To: zsh-users


I'm able to complete this:

$ LD_LIBRARY_PATH=~/sdtm<TAB>		# works

.. but not this:

$ export LD_LIBRARY_PATH=~/sdtm<TAB>	# fails


Anyone know how to fix this?  I'm using zsh 3.0.0 under Solaris 2.6 .

Thanks,

    --- John.


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

* Re: filename completion question...
  1996-10-18 20:07 filename completion question John S Cooper
@ 1996-10-18 21:33 ` Vincent Lefevre
  1996-10-18 21:39 ` Zoltan Hidvegi
  1 sibling, 0 replies; 3+ messages in thread
From: Vincent Lefevre @ 1996-10-18 21:33 UTC (permalink / raw)
  To: zsh-users

John S Cooper writes:
> $ export LD_LIBRARY_PATH=~/sdtm<TAB>	# fails

Change the completion rule for export. Here's mine:

compctl -v -S '=' -x 'N[1,@] p[1,-1]' -k hosts - 'N[1,=] p[1,-1]' -f -- export

(It can be improved. For instance, after DISPLAY=, it should do a host
completion...)

-- 
Vincent Lefevre, vlefevre@ens-lyon.fr | Acorn RiscPC600, 20+1MB RAM, Eagle M2
http://www.ens-lyon.fr/~vlefevre      | Apple CD-300, SyQuest 270MB
PhD in Computer Science, 1st year     | Atari Falcon030, 4MB RAM
------------------------------------------------------------------------------


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

* Re: filename completion question...
  1996-10-18 20:07 filename completion question John S Cooper
  1996-10-18 21:33 ` Vincent Lefevre
@ 1996-10-18 21:39 ` Zoltan Hidvegi
  1 sibling, 0 replies; 3+ messages in thread
From: Zoltan Hidvegi @ 1996-10-18 21:39 UTC (permalink / raw)
  To: John S Cooper; +Cc: zsh-users

John S Cooper wrote:
> 
> I'm able to complete this:
> 
> $ LD_LIBRARY_PATH=~/sdtm<TAB>		# works
> 
> .. but not this:
> 
> $ export LD_LIBRARY_PATH=~/sdtm<TAB>	# fails

Try 

compctl -qv -S '=' -x 'N[-1,=]' -f -- export  

> Anyone know how to fix this?  I'm using zsh 3.0.0 under Solaris 2.6 .

is Solaris 2.6 already out?  I thought 2.5.1 is the latest version.  You
work at SUN so I suppose it is just an internal release.

Zoltan


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

end of thread, other threads:[~1996-10-18 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-18 20:07 filename completion question John S Cooper
1996-10-18 21:33 ` Vincent Lefevre
1996-10-18 21:39 ` Zoltan Hidvegi

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