All pastes #768154 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-10 10:48 UTC
rendered paste body
if [[ $- != *i* ]] ; then
        # Shell is non-interactive.  Be done now!
        return
fi

source /etc/profile

# Enable colors for ls, etc.  Prefer ~/.dir_colors #64489
if [[ -f ~/.dir_colors ]] ; then
        eval $(dircolors -b ~/.dir_colors)
elif [[ -f /etc/DIR_COLORS ]] ; then
        eval $(dircolors -b /etc/DIR_COLORS)
fi

alias ls='ls --color=auto'
alias grep='grep --colour=auto'

# Change the window title of X terminals 
case ${TERM} in
        xterm*|rxvt*|Eterm|aterm|kterm|gnome)
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
                ;;
        screen)
                PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
                ;;
esac

PS1='\[\e[1;30m\][\[\e[35m\]\#\[\e[30m\]] (\[\e[36m\]\h\[\e[30m\]) [\[\e[34m\]\w\[\e[30m\]]\[\e[32m\] \n\$\[\e[0m\] '

#PATH="/usr/lib64/ada/x86_64-pc-linux-gnu-gnat-gcc-4.1/gtkada/bin:/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.1:$PATH"

#export ADA_OBJECTS_PATH="/usr/lib/ada/x86_64-pc-linux-gnu-gnat-gcc-4.1/gtkada/adalib"

#alias gnatmake="gnatmake --RTS=/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.1"