Skip to content

Instantly share code, notes, and snippets.

@ciaranlee
Created June 19, 2009 10:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ciaranlee/132552 to your computer and use it in GitHub Desktop.
Save ciaranlee/132552 to your computer and use it in GitHub Desktop.
# export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# export PS1='\w$(__git_ps1 "(%s)") > '
export PS1='\[\033[01;32m\]\w\[\033[00m\]:\[\033[01;34m\]$(__git_ps1 "(%s)")\[\033[00m\]\$ '
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
export TERM=xterm-color
export LESS="-erX"
alias ls='ls -G'
alias ll='ls -hl'
# include .git-completion.bash if it exists
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# include ssh tab completion for known hosts
complete -W "$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ' ' | sed -e s/,.*//g | uniq | grep -v "\["`;)" ssh
# the rest of this file is commented out.
#EDITOR=vim
# set PATH so it includes user's private bin if it exists - this is now done in bashrc!
# if [ -d ~/bin ] ; then
# PATH=~/bin:"${PATH}"
# fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment