Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Where should I put personal shell configurations when using dash?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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