[konsole] [Bug 391255] Konsole within Dolphin panel) does not read .bashrc when a closed activity is resumed

Ahmad Samir bugzilla_noreply at kde.org
Sun Mar 4 17:29:31 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=391255

--- Comment #4 from Ahmad Samir <a.samirh78 at gmail.com> ---
BASH executes commands in ~/.profile when it's invoked as a login shell.
However if bash is invoked as an interactive non-login shell it executes
commands in ~/.bashrc.

So it follows that when the dolphin terminal panel is shown bash will execute
commands in ~/.bashrc; when an activity is stopped then resumed the bash
process (and the dolphin process too) for that panel is terminated and a new
one is started.

FWIW, if I edit .bashrc and then hide -> show the terminal panel new commands
in .bashrc aren't executed, which makes sense as dolphin doesn't terminate the
bash process it started when the terminal panel was first shown (the output in
the terminal panel is preserved if you hide then show that panel).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list