Files
Adrian Ho c166667666 shellenv: Fix shell detection
It currently switches on `$SHELL`, which points to the user's login shell. However, `shellenv` may be used in contexts where the running shell isn't `$SHELL` (e.g. csh-based `cron` scripts), and Linux desktop environments may set up user sessions in ways that trip up the current algorithm (see #7965 for an example). To work correctly in all circumstances and environments, its output should be determined by the context (calling shell) instead.

Fixes #7965.
2020-07-11 22:28:27 +08:00
..
2020-06-25 12:01:52 -04:00
2020-05-18 13:50:46 +01:00
2020-03-10 23:18:40 -04:00
2020-04-07 09:58:26 +01:00
2020-04-14 14:21:53 +01:00
2020-06-23 09:50:45 -04:00
2020-06-25 21:51:39 +08:00
2020-04-12 10:08:35 -05:00
2020-07-09 11:21:22 -04:00
2020-06-18 20:15:07 +02:00
2020-07-03 10:33:38 -04:00
2020-07-11 22:28:27 +08:00
2020-03-13 21:16:18 +00:00
2020-07-03 10:33:38 -04:00