Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2009 19:02:41 +0100
From:      Frank Staals <frankstaals@gmx.net>
To:        Glen Barber <glen.j.barber@gmail.com>
Cc:        questions@FreeBSD.org
Subject:   Re: Aliassing 'svn log' to 'svn log -v'
Message-ID:  <499EF041.8030005@gmx.net>
In-Reply-To: <4ad871310902191352v15c181b1qc7b6ff29ad25b962@mail.gmail.com>
References:  <499DCAC1.5050205@gmx.net> <4ad871310902191352v15c181b1qc7b6ff29ad25b962@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Glen Barber wrote:
> On Thu, Feb 19, 2009 at 4:10 PM, Frank Staals <frankstaals@gmx.net> 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'

does not seem to do the trick

-- 

- Frank




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499EF041.8030005>