Skip to content

Instantly share code, notes, and snippets.

@PiJoules
Created August 24, 2016 15:42
Show Gist options
  • Save PiJoules/a90aa6456db8c8633bec476205fdb107 to your computer and use it in GitHub Desktop.
Save PiJoules/a90aa6456db8c8633bec476205fdb107 to your computer and use it in GitHub Desktop.
# 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
alias tmux="TERM=screen-256color-bce tmux"
# Uncomment the below line if have python-dev-scripts
#source /home/lc599/python-dev-scripts/_setup_venv_scripts
alias increase_that_github_score="git commit -m 'gotta increase that github score'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment