[ale] teleport vs cd
arxaaron
arxaaron at gmail.com
Mon Jun 27 23:01:36 EDT 2011
On 2011/06/27, at 22:40 , JD wrote:
> On 06/27/2011 10:14 PM, arxaaron wrote:
>
> <snip>
>
>>>
>>> pushd and popd are pretty handy too. An alias with 'pd' that
>>> pushes or
>>> pops directories when there is or isn't an argument is handy too.
>>> This
>>> assumes you won't/can't just open another terminal.
>>
>> I really like the thinking behind the teleport tp command.
>> And it's all done as a bash script, so hard to get much more
>> portable and easy to install than that!
>>
>> As it stands in the Mac BSD environment I don't even have
>> pushcd and popcd. The default shell is bash though, so I'm
>> anxious to give this cool little script a try! I'm not finding any
>> reports of people trying it on Mac yet -- my own experience
>> is that the *nix command set isn't as deep as on Linux, so
>> I'll report back or success or difficulties...
>>
>
> pushd & popd - no "c" character. Also, the CDPATH is a shell built-in
> for bash & tcsh. I think pushd/popd are built-in too.
doh! typo time!
pushd and popd are indeed bash built in commands and are
here on the Mac version.
Any, teleport seems to be working fine in this OSeX 10.5.6
environment! Happy, happy!
peace
aaron
More information about the Ale
mailing list