Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: from tcsh to zsh (alias)
- X-seq: zsh-users 15110
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Leander Jedamus <ljedamus@xxxxxx>
- Subject: Re: from tcsh to zsh (alias)
- Date: Tue, 8 Jun 2010 13:22:05 -0700
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=+fSq5c96QaPJqZnIE1fpH/tTtvCaKkvBt3bnprXaEos=; b=Qsy5c1SF616fqVv86R5lUR653V4ct62EfXjRxMHPzkfC9ze43Hoym27ToUPTKZ68Bo yWWAwXyGiSi+Nqgz/2Mcuu6YXsoZdGKAIx5ZPdo+xrsjIF38tdH6stTWR+9UF/xpXSRo gJVtzObrewunciTOLMf0zaCI22SXB2JQEsr4Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=BJP5g5RRSB1A3hOznEO3jf7VckJGjjs8Nx7+ZXn3cQZD70BG0SHzO+0MClbMuVLt4s 2ZIj0a2KVjgFgv0DF+V4h6GYwO/abFF+gq2rqQRlGpt6I/NkEjCY/reJ0gYGmPX5MO1j 6uudBRMJzm0vTQ3RQW1WxA61PmplULDWEk1uQ=
- In-reply-to: <4C0E19F9.9040404@xxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <4C0E19F9.9040404@xxxxxx>
- Sender: 4wayned@xxxxxxxxx
On Tue, Jun 8, 2010 at 3:22 AM, Leander Jedamus <ljedamus@xxxxxx> wrote:
> alias ssh="ssh $* ; cd ."
>
$* has no special meaning in an alias. You should instead use a function,
like this:
function ssh
{
command ssh $@
cd .
}
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author