Gentoo Archives: gentoo-user

From: "Arthur Țițeică" <arthur@×××××××××××××.ro>
To: gentoo-user@l.g.o
Cc: Hogren <hogren@×××××.com>
Subject: Re: [gentoo-user] bashrc in console
Date: Wed, 22 Mar 2017 12:42:31
Message-Id: 1623018.37jujSrMEm@ltbro-atiteica
In Reply to: [gentoo-user] bashrc in console by Hogren
1 În ziua de miercuri, 22 martie 2017, la 14:34:50 EET, Hogren a scris:
2 > Hello,
3 >
4 > Anybody knows why ~/.bashrc is not running on the first Bash opening ?
5
6 Maybe you're missing '.bash_profile'. Look in /etc/skel/ for an example.
7
8 >
9 >
10 > Steps to reproduce my problem:
11 >
12 > - I boot up my machine (systemd)
13 >
14 > - I have the login prompt
15 >
16 > - I enter my login, then my password
17 >
18 > - I am in Bash but ~/.bashrc is not sourced. Aliases, $PATH, and other
19 > are not updated.
20 >
21 > - I enter the command "bash" to enter in a subshell. Now I have my new
22 > aliases, $PATH, etc. The ~/.bashrc is sourced.
23 >
24 >
25 >
26 > I didn't find the good conf file.
27 >
28 >
29 > Thank you for help !
30 >
31 >
32 >
33 > Hogren

Replies

Subject Author
Re: [gentoo-user] bashrc in console Hogren <hogren@×××××.com>