Created
November 14, 2011 02:06
-
-
Save hectormenendez/1363073 to your computer and use it in GitHub Desktop.
.bashrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
# don't put duplicate lines in the history. | |
HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups | |
# append to the history file, don't overwrite it | |
shopt -s histappend | |
# check the window size after each command and, if necessary, | |
# update the values of LINES and COLUMNS. | |
shopt -s checkwinsize | |
# make less more friendly for non-text input files, see lesspipe(1) | |
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" | |
# set color command prompt | |
PS1='\[\033[01;34m\]\w\[\033[00m\]\$ ' | |
# set file colors | |
eval `dircolors ~/.dir_colors` | |
alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars --human-readable --group-directories-first' | |
alias grep='grep --color=auto' | |
# set PATH so it includes user's private bin if it exists | |
if [ -d "$HOME/src/bin" ] ; then | |
PATH="$HOME/src/bin:$PATH" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment