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

Karl Ove Hufthammer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|The Dolphin shell panel     |The Dolphin shell panel
                   |(opend by F4) does not      |(opened by F4) does not
                   |source .bashrc              |source .bashrc when opened
                   |                            |by session restore
                 CC|                            |[email protected]

--- Comment #33 from Karl Ove Hufthammer <[email protected]> ---
I can confirm this bug and *reliably reproduce* it for a current version of
Dolphin.

Note: This only happens for a Dolphin window opened by the ‘session restore’
feature. For manually opened Dolphin windows, everything is fine.

STEPS TO REPRODUCE
1. Open at least one Dolphin windows. Open the terminal (F4) inside Dolphin.
2. Log out.
3. Log in.


OBSERVED RESULT
The Dolphin window is restored, including the opened terminal pane, but
~/.bashrc has not been executed in the terminal pane. For example, aliases
defined in ~/.bashrc are not available. Closing and reopening the terminal (F4)
doesn’t help.

However, if you open a *new* Dolphin window, ~/.bashrc *is* sourced in the
terminal in this *new* window.


ADDITIONAL INFORMATION
It is useful to have an easy way of seeing whether ~/.bashrc has been sourced.
I have a colourful prompt defined in my ~/.bashrc file, which make it very easy
(if the file has been sourced, the prompt is green and purple, if not, it’s
grey). I use the following command for this:

  export PS1="\[\e[0;32m\]\u@\h \[\e[0;35m\]\W\[\e[m\]$ "


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20190723
KDE Plasma Version: 5.16.2
KDE Frameworks Version: 5.59.0
KDE Applications Version: 19.04.3
Qt Version: 5.13.0
Kernel Version: 5.2.1-1-default
OS Type: 64-bit

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to