From ab07ceb5ad39568f8f1fbc2fb55dafc9d781b298 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Wed, 6 Feb 2013 14:32:28 -0500 Subject: initial commit --- bashrc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bashrc (limited to 'bashrc') diff --git a/bashrc b/bashrc new file mode 100644 index 0000000..038e5ae --- /dev/null +++ b/bashrc @@ -0,0 +1,28 @@ +HISTCONTROL=ignoreboth:erasedups +shopt -s histappend +HISTSIZE=5000 +HISTFILESIZE=5000 + +[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ + . /usr/share/bash-completion/bash_completion + +alias open='xdg-open' + +export GIT_ASKPASS=~/.password +color_prompt=yes +#trap 'echo -n -e "\e]0;$PWD\007"' DEBUG &> /dev/null +#bind '"\t":menu-complete' + + alias ls='ls --color=auto' + alias less='less -R' + alias grep='grep --color=auto -n --exclude=*.svn-base --exclude=*~' + +PS1='\w\$ ' + +function mkcd(){ mkdir $1; cd $1; } + +function up() { cd $( for((i=1;i<=$1;i++));do printf "%s" "../";done); } + + +clear + -- cgit v1.2.3