diff options
author | mutantturkey <mutantturke@gmail.com> | 2013-02-06 14:32:28 -0500 |
---|---|---|
committer | mutantturkey <mutantturke@gmail.com> | 2013-02-06 14:32:28 -0500 |
commit | ab07ceb5ad39568f8f1fbc2fb55dafc9d781b298 (patch) | |
tree | 25a5e549b50aafe0f2ed2ca997740fbf1fc2f71f /bashrc |
initial commit
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -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 + |