On Wed, 2020-10-07 at 14:57 +0200, Tom H wrote:
On Wed, Oct 7, 2020 at 2:00 PM Patrick O'Callaghan
<pocallaghan(a)gmail.com> wrote:
> On Wed, 2020-10-07 at 12:56 +0200, Tom H wrote:
> > On Tue, Oct 6, 2020 at 11:35 PM Patrick O'Callaghan
> > <pocallaghan(a)gmail.com> wrote:
> > > For as long as I can remember, the shell builtin 'env' has been
> > > useful for listing all the current environment variables.
> > >
> > > Not any more. There's another command called env which does
> > > something different, and the builtin no longer exists.
> > >
> > > I mustn't have got the memo. How do I get the old 'env' back?
> >
> > Do you have bash-completion enabled? It loads many functions.
>
> I don't think so. I don't recall ever doing that, but it's hard to be
> sure. I don't see it in /etc/bashrc, /etc/profile or my home
> directory equivalents, though the package is installed. How would I
> know?
It's loaded by "/etc/profile.d/bash_completion.sh", which is sourced
by "/etc/profile" and "/etc/bashrc".
Neither of those have it, so I guess it's not enabled.
poc