diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2019-10-06 05:48:25 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2019-10-06 06:01:47 +0800 |
| commit | c04dff7965ed84bc57ea957ecad81fb902b7f146 (patch) | |
| tree | 3b96d99022681364b79120f81c622e9f82535245 /lang/python/python3 | |
| parent | eed49dad9c43dc64ff70909c77c82cf76647f287 (diff) | |
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>
Diffstat (limited to 'lang/python/python3')
0 files changed, 0 insertions, 0 deletions
