Nitrux/iso-tool

Include a custom .profile and/or .mksh file

Closed this issue · 1 comments

Although we do mostly focus on the end-user that uses graphical software, it's not a bad idea to also make the Terminal look and feel beautiful too.

Some custom features to include where appropriate:

  • Try to adapt Powerline to work with mksh.
  • Pre-configured Linuxbrew paths.
# Linuxbrew setup.
if [ -d /home/linuxbrew/.linuxbrew ]; then
    LINUXBREW=/home/linuxbrew/.linuxbrew
else
    LINUXBREW=$HOME/.linuxbrew
fi

export PATH="$LINUXBREW/bin:$PATH"
export MANPATH="$LINUXBREW/share/man:$MANPATH"
export INFOPATH="$LINUXBREW/share/info:$INFOPATH"

export PATH=$HOME/go/bin:$PATH
  • mksh autocomplete (necessary)
  • Others?

We switched to zsh for the interactive user shell, and we include a default zshrc configuration file that uses powerline.