Where should I put personal shell configurations when using dash?


There is no default file, you should set its name in the ENV environment variable. So add to your .profile the line

ENV=$HOME/.shinit; export ENV

so that .shinit becomes the equivalent of .bashrc.

But take into account that dash is not suitable for interactive use, given that do not provide any line editing capabilities (this can be solved: see How to have editing capabilities in command line apps that do not provide them).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.