Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create standard startup / rc script #31

Closed
progrium opened this issue Jul 1, 2015 · 1 comment
Closed

create standard startup / rc script #31

progrium opened this issue Jul 1, 2015 · 1 comment

Comments

@progrium
Copy link
Owner

progrium commented Jul 1, 2015

Right now we initiate /root with a .bashrc script. We use this to register aliases for envy commands and soon to source in any startup scripts/profiles in the owner's home directory.

Problem is .bashrc is not sourced with distros that just have a posix shell like Alpine. Posix doesn't define startup files that it sources by default, but it does source whatever file is defined in an ENV variable. I think we should standardize this to load /root/.envrc. We should put anything Envy related here, and then have .bashrc source it in cases where bash is used instead of sh.

In case anybody is curious about the "rc" naming convention: http://unix.stackexchange.com/questions/3467/what-does-rc-in-bashrc-stand-for

@progrium
Copy link
Owner Author

progrium commented Jul 5, 2015

Although a little different than documented here, this commit resolves this and is now documented in the readme: 88f3ef6

@progrium progrium closed this as completed Jul 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant