repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update i3, vim ignore, bashrc everything
[dotfiles.git]
/
.bashrc
diff --git
a/.bashrc
b/.bashrc
index
9074f96
..
8502398
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-1,40
+1,27
@@
-STCONTROL=ignoreboth
-HISTSIZE=100000
-HISTFILESIZE=10000
shopt -s checkwinsize
shopt -s histappend
shopt -s checkwinsize
shopt -s histappend
-set -o vi
-. /etc/bash_completion
-##Variables
-export BROWSER=chromium
+. /usr/share/bash-completion/bash_completion
+
+export TERMINAL=urxvtc
export EDITOR=vim
export EDITOR=vim
-export TERMINAL=urxvt
export TERM=screen
export TERM=screen
-export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
-export COLORFGBG="default:default"
-export PYTHONDONTWRITEBYTECODE
-export NOTMUCH_CONFIG=~/.mutt/.notmuch-config
-export TEXMFHOME=~/.texmf
-#
-##Colors yeeeyyyy
+export BROWSER=firefox
+
+export HISTFILESIZE=10000
+export HISTSIZE=100000
+export HISTCONTROL=ignoreboth
+
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
-function getpass {
- gpg -d -q --use-agent ~/passwd.gpg | grep "^$1" | awk '{print $3}'
-}
-
-function getuser {
- gpg -d -q --use-agent ~/passwd.gpg | grep "^$1" | awk '{print $2}'
-}
+#[ ! -s ~/.config/mpd/pid ] && mpd
-function addaccount {
- gpg -d -o ~/passwd -q --use-agent ~/passwd.gpg
- echo -n "user? "
- read user
- echo -n "pass? "
- read pass
- echo "$1 $user $pass" >> ~/passwd
- shred -u -v -z ~/passwd
+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)\n\$ "
}
}
+PROMPT_COMMAND='set_prompt'