Skip to content

Instantly share code, notes, and snippets.

@thomasbilk
Created March 16, 2012 13:13
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 thomasbilk/2050024 to your computer and use it in GitHub Desktop.
Save thomasbilk/2050024 to your computer and use it in GitHub Desktop.
.bashrc file
# ~/.bashrc
export EDITOR=vim
export HISTCONTROL=ignoredups
export LSCOLORS=excxbxbxfxexexfxfxexex
alias ls="ls --color=auto"
alias ll="ls -lhF"
alias rm="rm -v"
alias pacman="pacman-color"
alias grep="grep --color"
alias xblack="xlock -mode blank -font fixed"
alias seeya="xblack & dbus-send --system --print-reply --dest=\"org.freedesktop.UPower\" \
/org/freedesktop/UPower org.freedesktop.UPower.Suspend > /dev/null"
alias fosvim="fos diff|vim -"
alias hgvim="hg diff|vim -"
alias sizes="du -h --max-depth=1 --exclude="./.*""
alias delpyc="find . -name \"*.pyc\" -exec rm -v {} \;"
PURPLE="\[\033[0;25m\]"
RED="\[\033[0;31m\]"
CYAN="\[\033[0;36m\]"
NOCOLOR="\[\033[0m\]"
PS1="$CYAN\u@\h:\W \$$NOCOLOR "
# PS1="$RED\u@\h:\W \$$NOCOLOR " # for servers
# startup virtualenv-burrito
if [ -f $HOME/.venvburrito/startup.sh ]; then
. $HOME/.venvburrito/startup.sh
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment