From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19162 invoked by alias); 8 Jun 2010 20:22:12 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15110 Received: (qmail 21797 invoked from network); 8 Jun 2010 20:22:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.160.43 as permitted sender) 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= MIME-Version: 1.0 Sender: 4wayned@gmail.com In-Reply-To: <4C0E19F9.9040404@web.de> References: <4C0E19F9.9040404@web.de> Date: Tue, 8 Jun 2010 13:22:05 -0700 X-Google-Sender-Auth: GvKWb8-PAgD8AWeAdz5O50B3zA8 Message-ID: Subject: Re: from tcsh to zsh (alias) From: Wayne Davison To: Leander Jedamus Cc: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=0016363b8ba6fc98d804888a8a14 --0016363b8ba6fc98d804888a8a14 Content-Type: text/plain; charset=UTF-8 On Tue, Jun 8, 2010 at 3:22 AM, Leander Jedamus 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.. --0016363b8ba6fc98d804888a8a14--