Using a Gentoo Prefixed shell as your login shell

One thing that kind of annoyed me about Gentoo Prefix is that you always needed to do a little work to enter the prefix:

$ ./bootstrap-prefix.sh /path/to/prefix startscript

Personally, I just want to always live in a prefixed shell. Amazingly enough, this is really easy to do.

  1. First open up /etc/shells as root
  2. Add a line like /path/to/prefix/bin/bash and save
  3. As your user, run: chsh -s /path/to/prefix/bin/bash
  4. Enter your password
  5. Done

Now, everytime you open a terminal, it will be running a bash gloriously built by Gentoo

Permalink Edit Destroy

Sorry, comments haven't been implemented yet.