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

Re: "cdpath" searching



>I had a "cdpath", and so far it came in handy once, stung me once,
>and otherwise went unnoticed and unused.  I find it easier to use 

>things like
>
>	 cd $foo_dir/bar

I disagree about the usefulness of cdpath. I use it all the time;
however I wouldn't object were it removed from the default
shell configuration - it's not designed to be used from shell
scripts anyway (and I can damage my interactive environment
however I wish...)

I think the problem is that any shell is used in two contexts -
non-interactive (for which you want a set of a few features
that are guaranteed to be there and don't have to be reimplemented
in every shell script you write) and interactive (you want all
the nice `twiddly bits' that make it easier to use from the
command line)

In my opinion, initial.es should provide everything necessary for
non-interactive operation, and the bare bones necessary to
implement any (or most) desired interactive behaviours.

It might be a good idea to provide a standard issue `interactive.es'
to be sourced in your .esrc (and changed to taste), giving
all the 'standard' interactive features normally built in to
the shell.

  rog.