Files
packages/utils
Jeffery To 2685ba269f shinit: Add package
This package adds support for /etc/shinit and ~/.shinit files, which
contain commands to be run at the start of all interactive shells.
(/etc/profile and ~/.profile are read for login shells only.)

This is useful for those who regularly open non-login, interactive
shells, for example users of GNU Screen or tmux.

(This is based on a patch[1] I submitted for OpenWrt master, but there
does not appear to be much interest in merging the change.)

(This package uses the ENV shell variable, of which the POSIX standard
has a brief description[2]. The dash manpage[3] also describes how the
ENV variable is handled. (dash is the basis for busybox ash.))

[1]: https://patchwork.ozlabs.org/patch/1094493/
[2]: https://pubs.opengroup.org/onlinepubs/9699919799//utilities/V3_chap02.html#tag_18_05_03
[3]: https://manpages.debian.org/buster/dash/dash.1.en.html#Invocation

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from c04dff7965)
2019-10-12 04:39:31 +08:00
..
2018-07-21 19:52:36 -07:00
2018-07-15 20:55:33 -07:00
2019-03-08 00:32:48 +01:00
2017-08-29 21:41:14 -07:00
2017-01-16 03:10:38 -06:00
2019-03-03 16:29:06 -08:00
2019-05-14 13:55:25 +08:00
2019-09-27 13:05:38 -07:00
2019-09-23 11:58:27 -07:00
2018-08-29 13:33:46 -07:00
2018-10-28 10:08:22 -07:00
2019-09-27 13:07:43 -07:00
2017-08-29 21:41:14 -07:00
2018-07-28 15:07:17 -07:00
2019-02-21 08:56:43 +01:00
2019-06-04 01:04:51 -07:00
2019-07-19 20:00:00 -07:00
2019-05-12 00:32:38 -07:00
2019-09-27 13:03:45 -07:00
2019-05-10 23:40:36 +02:00
2018-07-04 23:54:49 -04:00
2018-07-08 18:13:39 -07:00
2018-09-29 11:50:29 +08:00
2017-08-29 21:41:14 -07:00
2019-04-19 10:33:20 +02:00
2019-10-01 23:14:14 +03:00
2019-02-11 22:25:14 +08:00
2019-01-21 21:38:57 -08:00
2016-12-17 15:20:05 +01:00
2018-12-03 16:16:44 +00:00
2018-11-13 13:38:59 -08:00
2018-08-15 18:53:58 -07:00
2019-08-01 21:57:42 +02:00
2017-09-22 21:53:40 -07:00
2019-06-06 11:06:38 +09:00
2018-03-09 02:45:09 +00:00
2019-02-02 11:19:50 -08:00
2017-08-29 21:41:14 -07:00
2019-08-05 12:02:35 -07:00
2019-10-07 18:20:40 +03:00
2019-03-18 15:28:17 +01:00
2019-07-19 19:50:20 -07:00
2019-04-01 12:43:28 +02:00
2018-11-05 21:32:13 -08:00
2018-12-15 21:35:30 -08:00
2017-08-29 21:41:14 -07:00
2019-05-03 13:06:27 -07:00
2019-02-12 18:03:20 +00:00
2018-11-19 14:14:35 -08:00
2019-04-25 11:54:35 +08:00
2019-10-12 04:39:31 +08:00
2018-10-29 19:15:13 -07:00
2019-01-30 23:28:42 +01:00
2017-08-29 21:41:14 -07:00
2019-04-23 16:20:36 -07:00
2019-05-17 11:17:49 +09:00
2019-04-04 01:20:12 +02:00
2019-03-10 21:37:01 +01:00
2019-02-09 09:54:58 -08:00
2019-05-02 21:46:30 +02:00
2018-11-18 13:18:24 -08:00
2019-04-10 16:23:20 -07:00
2019-04-05 18:24:33 -07:00
2019-01-17 21:58:54 +08:00
2018-07-25 15:30:42 -07:00
2019-06-06 15:54:55 +02:00
2019-05-14 09:49:15 +02:00
2019-09-27 13:00:22 -07:00
2018-08-30 07:57:55 -03:00
2017-11-17 13:39:05 +01:00
2019-09-27 12:58:40 -07:00