~/.bashrc

# If running interactively, then:
if [ "$PS1" ]; then

    # enable color support of ls and also add handy aliases
    if [ "$TERM" != "dumb" ]; then
        eval `dircolors -b`
        alias ls='ls --color=auto'
        #alias dir='ls --color=auto --format=vertical'
        #alias vdir='ls --color=auto --format=long'
    fi

    # set a fancy prompt
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '

    # If this is an xterm set the title to user@host:dir
    case $TERM in
    xterm*)
        PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
        ;;
    *)
        ;;
    esac

    if [ -f /etc/bash_completion ]; then
      . /etc/bash_completion
    fi
fi

~/.bash_profile

umask 002

if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

if [ -d ~/bin ] ; then
    PATH=~/bin:"${PATH}"
fi

# allow calling gump from different directories...
export PATH=$HOME/Gump3:$PATH
  • No labels