* =-expansion
@ 2005-10-21 15:37 Chris Johnson
0 siblings, 0 replies; only message in thread
From: Chris Johnson @ 2005-10-21 15:37 UTC (permalink / raw)
To: zsh-users
I've got a script in ~/bin called script.zsh. ~/bin is in my PATH. So,
I was trying to open it from my home directory with:
% vi =scrip<TAB>
After hitting <TAB> the filename was completed but vi created a new
file rather than opening the existing file in ~/bin. It took me a bit
to figure out what was going on -- I had setopt'ed EQUALS. It turns out
script.zsh didn't have execute privileges. After chmod'ing, the file
opened as expected.
I figured since the file completed successfully, the path should be
expanded and passed correctly to vi. It wasn't. Should completion
deviate from expansion for =?
--
Chris Johnson
cjohnson@cs.utk.edu
http://www.cs.utk.edu/~cjohnson
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-21 15:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-21 15:37 =-expansion Chris Johnson
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).