repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
speciaal voor julse
[dotfiles.git]
/
.bashrc
diff --git
a/.bashrc
b/.bashrc
index
c7c30d0
..
2301b5e
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-12,7
+12,16
@@
export HISTFILESIZE=10000
export HISTSIZE=100000
export HISTCONTROL=ignoreboth
export HISTSIZE=100000
export HISTCONTROL=ignoreboth
+export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass
+
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
+alias vi=vim
-[ ! -s ~/.config/mpd/pid ] && mpd
+set_prompt(){
+ last_c=$?
+ PS1='\u@\h'
+ [[ $last_c -ge 1 ]] && PS1="($last_c) $PS1"
+ PS1="$PS1\w\$ "
+}
+PROMPT_COMMAND='set_prompt'