[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pushd/popd/dirs for es



>Either make Hoah's [sic] code an optional package, or bind it into the
>namespace in such a way that it doesn't shadow pwd and friends.

I never intended for my implementation to be distributed as part of es. 

My personal opinion about shadowing pwd, cd, etc. in the default shell is
that it is a bad thing to do; personally, I do not even want a version of
`cd' that knows about $cdpath getting dumped into initial.es.  I want as
simple a set of defaults as I can possibly get.

The library I'm writing/have written is stuff that exists because I
sometimes use it.  I feel like enough of it is useful that it's worth
sharing with other people who might also find it useful.  I have no desire
to force anything I've written on anyone, particularly since I find I am
often at odds with most people about style and implementation.

When I asked about whether people thought shadowing /bin/pwd was a bad idea
or not, I was considering removing my definition of pwd from the particular
file of functions I posted, so that once it was distributed it would not
bite anyone unexpectedly.  That is all.

I have no intention of suggesting new features to add to es.  On the
contrary, I am glad to see that redundant primitives are slowly being
removed.