Aliassing 'svn log' to 'svn log -v'

Frank Staals frankstaals at gmx.net
Fri Feb 20 10:02:46 PST 2009


Glen Barber wrote:
> On Thu, Feb 19, 2009 at 4:10 PM, Frank Staals <frankstaals at 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



More information about the freebsd-questions mailing list