Open Source ProjectsCode that Might be Useful to You

Talks I've GivenOn Technologies and Ideas

ThoughtsWhere I Sometimes Write Things

Resume If You Believe In Those

Follow Me On

GitHubIf coding is your thing

TwitterIf you tweet

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:

$ ./ /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

comments powered by Disqus