Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Mysterious completion of variables
- X-seq: zsh-users 9685
- From: Ian Langworth <ian.langworth@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Mysterious completion of variables
- Date: Thu, 17 Nov 2005 15:36:33 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QkWvARRMUS07zHNECGScCEh9QcFvZ65BqRO0TD6s4bu8FsE6/dkf785yfFjrxl9aLJeUNiWWlvr4wXxb4UsqNK24ix/cafFvB/ycxYl2v3DtYhxPWPF6FVEScWcVMjDe0da4GXhf5KnyOrcpdGfbNvrPUokgqD0jJtN+x/vs1ME=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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