Showing posts with label rootnode. Show all posts
Showing posts with label rootnode. Show all posts

20090424

ZSH on rootnode

Howto use zsh on rootnode, and get almost all of benefits that are preconfigured for bash usage on korn.rootnode.net.
  1. % chsh -s /usr/bin/zsh
  2. create a ~/.zshrc file with the following contents:

    PATH="/adm/szatan/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
    if [ -d "$HOME/tmp" ] ; then
    TMPDIR="$HOME/tmp"
    TEMP="$TMPDIR"
    TMP="$TMPDIR"
    fi

    JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun-1.5.0.10"
    TMOUT=3600
    JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx255m"
    [ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"
    [ -d "$HOME/man" ] && MANPATH="$HOME/bin:$MANPATH"
    MAIL=~/Maildir
    EDITOR="/usr/bin/vim"
    [ ! -f "$HOME/.nosplash" ] && /adm/szatan/bin/splash
    [ ! -f "$HOME/.nomotd" ] && cat /etc/motd.rootnode