NetBSD-Users archive

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

Re: 'cd' if HOME is unset



Maybe it should print "$HOME is not set" in that case?


On Sun, Dec 25, 2022 at 2:52 PM Valery Ushakov <uwe%stderr.spb.ru@localhost> wrote:
On Sat, Dec 24, 2022 at 22:32:22 -0500, Jan Schaumann wrote:

> Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
> > Why bother?
>
> I happily admit that it's a rare edge case. I simply
> find it surprising that 'cd' gives up if HOME is
> unset.  Seems unintuitive to me.

Some would say, "gives up", some would say it makes you aware you have
a problem. :)

DWIM is enticing, sure, but at some point it trasmutes into that
_javascript_ "WAT" talk moment.

-uwe


Home | Main Index | Thread Index | Old Index