Ticket #4605 (new enhancement)
Opened 2 hours ago
Last modified 50 minutes ago
Do not override ENV variable for ash/dash subshell
Reported by: | d3m3t3r | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.33 |
Component: | mc-core | Version: | master |
Keywords: | subshell ash dash | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Do not override ENV variable (by ".profile") for ash/dash subshell if it is already set. Currently, mc would fallback to ".profile" file disregarding the existing value of ENV. ENV variable is used to set interactive shell rc-file for ash/dash (or POSIX shells in general). I believe fallback to ENV should be preferred and also consistent with behavior of bash subshell where mc fallbacks ri .bashrc.
Attachments
Change History
comment:1 Changed 2 hours ago by d3m3t3r
The patch is attached (also as Github PR https://github.com/MidnightCommander/mc/pull/210)
comment:2 Changed 60 minutes ago by d3m3t3r
- Priority changed from major to minor
- Keywords subshell ash dash added
Note: See
TracTickets for help on using
tickets.