Gentoo Archives: gentoo-user

From: Hogren <hogren@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] bashrc in console
Date: Wed, 22 Mar 2017 12:35:14
Message-Id: 724d1d90-ba9e-dba6-1e6b-72f23f013afa@iiiha.com
1 Hello,
2
3 Anybody knows why ~/.bashrc is not running on the first Bash opening ?
4
5
6 Steps to reproduce my problem:
7
8 - I boot up my machine (systemd)
9
10 - I have the login prompt
11
12 - I enter my login, then my password
13
14 - I am in Bash but ~/.bashrc is not sourced. Aliases, $PATH, and other
15 are not updated.
16
17 - I enter the command "bash" to enter in a subshell. Now I have my new
18 aliases, $PATH, etc. The ~/.bashrc is sourced.
19
20
21
22 I didn't find the good conf file.
23
24
25 Thank you for help !
26
27
28
29 Hogren

Replies

Subject Author
Re: [gentoo-user] bashrc in console "Arthur Țițeică" <arthur@×××××××××××××.ro>
Re: [gentoo-user] bashrc in console Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] bashrc in console Alan McKinnon <alan.mckinnon@×××××.com>