Re: Aliassing 'svn log' to 'svn log -v'

2009-02-20 Thread Frank Staals

Jon Radel wrote:


Glen Barber wrote:


Try escaping it:
alias svn\ log='svn log-v'


Unfortunately that does not seem to work


Or just use your own command name:

alias svnv='svn log -v'


I kind of wanted to avoid that, but I guess that it can't be avoided then

--Jon Radel




--

- Frank

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Aliassing 'svn log' to 'svn log -v'

2009-02-20 Thread Jon Radel


Glen Barber wrote:


Try escaping it:
alias svn\ log='svn log-v'



Or just use your own command name:

alias svnv='svn log -v'

--Jon Radel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Aliassing 'svn log' to 'svn log -v'

2009-02-20 Thread Glen Barber
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Aliassing 'svn log' to 'svn log -v'

2009-02-20 Thread Frank Staals

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'

does not seem to do the trick

--

- Frank

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"