An ongoing adventure

Bash With Color on OpenBSD

This tip assumes you are using ports for OpenBSD (/usr/ports).
Compile and install the bash shell:

# cd /usr/ports/shells/bash
# make && make install && make clean

Change user settings to apply the bash shell:

# chsh
Changing user database information for bob.
Shell: /usr/local/bin/bash
Full Name: Bob
Office Location:
Office Phone:
Home Phone:

Compile and install the colorls package:

# cd /usr/ports/sysutils/colorls
# make && make install && make clean

Add the following lines to .profile in your home directory:

alias ls=’colorls -FG’
export TERM

Note: I don’t recommend changing the shell for root, I have seen some
weird things happen.