[TxMt] Re: Python/IPython support

Roberto Aguilar roberto.c.aguilar at gmail.com
Tue Oct 20 17:34:17 UTC 2009


> Date: Mon, 19 Oct 2009 22:18:53 -0700
> From: unussum at gmail.com
> Subject: [TxMt] Re: Python/IPython support
> To: TextMate users <textmate at lists.macromates.com>
> Message-ID: <09767F0B-381B-4D82-8A3F-ACCD8DCFDD2D at gmail.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
>
> I made the mistake of setting an alias for bc, which I was not aware
> was the name of an existing unix tool (That's what I get for not
> capitalizing my personal aliases, I guess).
>
> # ~/.profile
> alias bc="echo ~/some/path"
> alias cdbc="cd $(bc)"

Your bc alias is just echoing the directory, which can be replaced by  
a variable:

bc="~/some/path"
alias cdbc="cd ${bc}"

That should solve your problem.

-Roberto.




More information about the textmate mailing list