Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Mysterious completion of variables



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

  aspen='me@xxxxxxxxxxxxxxxxxx'
  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@xxxxxxxxxxxxxxxxxxxxx': No such file or directory

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

--
Ian Langworth



Messages sorted by: Reverse Date, Date, Thread, Author