zsh-users
 help / color / mirror / code / Atom feed
* Mysterious completion of variables
@ 2005-11-17 20:36 Ian Langworth
  2005-11-18 10:21 ` Peter Stephenson
  2005-11-18 11:32 ` Hannu Koivisto
  0 siblings, 2 replies; 6+ messages in thread
From: Ian Langworth @ 2005-11-17 20:36 UTC (permalink / raw)
  To: zsh-users

I have a few variables for hosts that I shell into frequently:

  aspen='me@aspen.mydomain.com'
  alias aspen="ssh $aspen"

Thus, I'm usually able to do the following:

  scp $aspen:temp .

This usually works, but there are occasions where I get strange
completion after I hit <Enter>:

  cp: cannot stat `me@aspen.mydomain.comemp': No such file or directory

Sounds like it's interpolating ':t', but I'm not sure why. Ideas?

--
Ian Langworth


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

end of thread, other threads:[~2005-11-18 17:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-17 20:36 Mysterious completion of variables Ian Langworth
2005-11-18 10:21 ` Peter Stephenson
2005-11-18 11:32 ` Hannu Koivisto
2005-11-18 11:47   ` Peter Stephenson
2005-11-18 14:20     ` Ian Langworth
2005-11-18 17:38     ` Wayne Davison

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