repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed matlab from path and minimalized the gv gui
[dotfiles.git]
/
.bashrc
diff --git
a/.bashrc
b/.bashrc
index
e422eec
..
c4f4ed2
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-1,37
+1,33
@@
-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=lynx
+. /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 BROWSER=firefox
+
+export HISTFILESIZE=10000
+export HISTSIZE=100000
+export HISTCONTROL=ignoreboth
+
+export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass
+
+export PATH=\
+$PATH:\
+/usr/local/texlive/2014/bin/x86_64-linux:\
+/opt/clean/bin
+
-#Colors yeeeyyyy
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
-alias email='mutt'
-
-#Watch youtube videos in the terminal
-function ytview {
- if [ "$#" -ne "1" ]; then
- echo "usage $0 yturl"
- else
- get_flash_videos -q -f - $1 | cvlc -A alsa -V aa -
- fi
-}
+alias vi=vim
-#Mount cloud file storage and start daemon if necessary
-if ! mountpoint -q ~/copy; then
- encfs ~/.copy.encr ~/copy
-fi
-if ! pidof CopyConsole >> /dev/null; then
- ~/bin/copy/x86_64/CopyConsole -daemon 2>&1 1>/dev/null
-fi
+set_prompt(){
+ last_c=$?
+ PS1='\u@\h'
+ [[ $last_c -ge 1 ]] && PS1="($last_c) $PS1"
+ PS1="$PS1\w\$ "
+}
+PROMPT_COMMAND='set_prompt'