0

Yesterday I upgraded my desktop to 22.04.1.

Somehow my custom commands in ~/bin/ are not found anymore.

It seems I have to manually source .profile in every terminal.

Yes, I have a manually created .bash_profile for a long time, but that worked fine in 20.04.

What has changed in 22.04?

And how do you actually debug such a problem: how can you check which config files are read and which aren't?

Can't find it in syslog.

Janghou
  • 6,035

1 Answers1

2

The top of ~/.profile, the default with the installation of 22.04, states:

# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.

Some more useful info here: Why isn't .profile sourced when opening a terminal?

Dan
  • 14,180