From owner-freebsd-questions@FreeBSD.ORG Fri Feb 20 18:06:21 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 118161065674 for ; Fri, 20 Feb 2009 18:06:21 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f170.google.com (mail-bw0-f170.google.com [209.85.218.170]) by mx1.freebsd.org (Postfix) with ESMTP id 8FE558FC13 for ; Fri, 20 Feb 2009 18:06:20 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz18 with SMTP id 18so3819955bwz.19 for ; Fri, 20 Feb 2009 10:06:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=H+QycekpYfyvcQx7vx0s7U8Vq0D0dmn3/VkwtIyHA38=; b=L0s39Lr0OasUkkAhxpVWgccoLZD7VChidqdiSa1TviQMLn5Dy+DBU51Yvrg8pDt9wg K8gowbbzck6Cnr2HVmVHMzOE+ATYRa6+eYZp/QqiwWMdIGO0TlAQ8StgygWtMB4iEi11 9dBkDefX72jt0pPetABGLZIna4lTBk8h+ZRGM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=e8OU49FJXHCzBUHpfBbiWnjg468BFxbnPvunZ94rD+hopYe+IW9MTuqXIOu4NynKbR 4gve7In9xPEWJbaEz/951QKkXWCdK6NW3mkbNr2ET+5MICubRUNX2H8uWjGfMne/EenN /NWHjVlNS+TRu1HRX+yXYdEPeO4Y9DmkG8yD0= MIME-Version: 1.0 Received: by 10.223.111.134 with SMTP id s6mr1321022fap.37.1235153179235; Fri, 20 Feb 2009 10:06:19 -0800 (PST) In-Reply-To: <499EF041.8030005@gmx.net> References: <499DCAC1.5050205@gmx.net> <4ad871310902191352v15c181b1qc7b6ff29ad25b962@mail.gmail.com> <499EF041.8030005@gmx.net> Date: Fri, 20 Feb 2009 13:06:18 -0500 Message-ID: <4ad871310902201006x447dd49as3bd2f3905f90c71@mail.gmail.com> From: Glen Barber To: Frank Staals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Aliassing 'svn log' to 'svn log -v' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 18:06:21 -0000 On Fri, Feb 20, 2009 at 1:02 PM, Frank Staals wrote: > Glen Barber wrote: > > On Thu, Feb 19, 2009 at 4:10 PM, Frank Staals wrote: > > > A bit of an off-topic question, but is there a neat way of aliassing 'svn > log' to 'svn log -v' in zsh ? I chould just write a one line shell script > that does 'svn log -v' and alias something like svnlog to the script but > that is a bit of a hack. > > > Alias it in $HOME/.zshrc > > > > What should be the syntax of that then ? I know you can normally alias > something with: > > alias foo='bar' > > Unfortunately using : > > alias 'svn log'='svn log -v' > or > alias svn log='svn log -v' Try escaping it: alias svn\ log='svn log-v' -- Glen Barber