repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ps1 customize
[dotfiles.git]
/
.bashrc
diff --git
a/.bashrc
b/.bashrc
index
d7eb318
..
28063f1
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-6,7
+6,7
@@
shopt -s histappend
export TERMINAL=urxvtc
export EDITOR=vim
export TERM=screen
export TERMINAL=urxvtc
export EDITOR=vim
export TERM=screen
-export BROWSER=
+export BROWSER=
firefox
export HISTFILESIZE=10000
export HISTSIZE=100000
export HISTFILESIZE=10000
export HISTSIZE=100000
@@
-14,3
+14,14
@@
export HISTCONTROL=ignoreboth
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
+
+[ ! -s ~/.config/mpd/pid ] && mpd
+
+source /usr/share/git/completion/git-prompt.sh
+set_prompt(){
+ last_c=$?
+ PS1='\u@\h'
+ [[ $last_c -ge 1 ]] && PS1="($last_c) $PS1"
+ PS1="$PS1\w$(__git_ps1)\$ "
+}
+PROMPT_COMMAND='set_prompt'