muttrc improved for praat mailing list
[dotfiles.git] / .bashrc
1 STCONTROL=ignoreboth
2 HISTSIZE=100000
3 HISTFILESIZE=10000
4 shopt -s checkwinsize
5 shopt -s histappend
6 set -o vi
7 . /etc/bash_completion
8
9 #Variables
10 export BROWSER=lynx
11 export EDITOR=vim
12 export TERMINAL=urxvt
13 export TERM=screen
14 export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
15 export COLORFGBG="default:default"
16
17 #Colors yeeeyyyy
18 alias ls='ls --color=auto'
19 alias grep='grep --color=auto'
20 alias email='mutt'
21
22 #Watch youtube videos in the terminal
23 function ytview {
24 if [ "$#" -ne "1" ]; then
25 echo "usage $0 yturl"
26 else
27 get_flash_videos -q -f - $1 | cvlc -A alsa -V aa -
28 fi
29 }
30
31 #Mount cloud file storage and start daemon if necessary
32 if ! mountpoint -q ~/copy; then
33 encfs ~/.copy.encr ~/copy
34 fi
35 if ! pidof CopyConsole >> /dev/null; then
36 ~/bin/copy/x86_64/CopyConsole -daemon 2>&1 1>/dev/null
37 fi