8

Where should I put personal shell configurations when using dash?

1 Answers1

4

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

enzotib
  • 93,831