Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: from tcsh to zsh (alias)



On Tue, Jun 8, 2010 at 3:22 AM, Leander Jedamus <ljedamus@xxxxxx> 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..


Messages sorted by: Reverse Date, Date, Thread, Author