This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17109
Commits
1
Branch
46 MiB
Tree:
32cbfce051
lilik-openwrt-22.03
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '32cbfce051'
${ noResults }
openwrt-packages-dist
/
utils
/
shinit
/
files
/
etc
/
profile.d
/
shinit.sh
1 line
23 B
Raw
Normal View
History
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>
5 years ago
export
ENV
=
/etc/shinit