.bashrc:
EDITOR=vi # If not running interactively, don't do anything [ -z "$PS1" ] && return if [ -f ~/.bash_aliases ] then . ~/.bash_aliases fi if [ -f /etc/bash_completion ] then . /etc/bash_completion fi if [ -f /etc/environment ] then . /etc/environment fi shopt -s checkwinsize USER=`whoami` if [ $USER = 'root' ] ; then USERCOLOR=31 # red PROMPT='#' else if [ $LOGNAME = $USER ] ; then USERCOLOR=34 # blue else USERCOLOR=32 # green fi PROMPT='$' fi export PS1="\[\033[$USERCOLOR;1m\]\u\[\033[1;30m\]\ @\[\033[32;1m\]\h\[\033[30;0m\]:\[\033[37;0m\]\ \w \[\033[30;0m\]\$PROMPT\[\033[37;0m\] " export PS2="> "
Maximised windows lose their window decoration to save screen real-estate:
This post has been edited by Sci-freak: 18 January 2009 - 03:26 PM