added bashrc
authorMart Lubbers <mart@martlubbers.net>
Thu, 27 Feb 2014 20:17:58 +0000 (21:17 +0100)
committerMart Lubbers <mart@martlubbers.net>
Thu, 27 Feb 2014 20:17:58 +0000 (21:17 +0100)
.bashrc [new file with mode: 0644]
install [changed mode: 0644->0755]

diff --git a/.bashrc b/.bashrc
new file mode 100644 (file)
index 0000000..ac77da5
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,36 @@
+STCONTROL=ignoreboth
+HISTSIZE=100000
+HISTFILESIZE=10000
+shopt -s checkwinsize
+shopt -s histappend
+. /etc/bash_completion
+
+#Variables
+export BROWSER=lynx
+export EDITOR=vim
+export TERMINAL=urxvt
+export TERM=screen
+export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
+export COLORFGBG="default:default"
+
+#Colors yeeeyyyy
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+alias email='offlineimap -c ~/.mutt/offlineimaprc -u ttyui; mutt; offlineimap -c ~/.mutt/offlineimaprc &'
+
+#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
+}
+
+#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
diff --git a/install b/install
old mode 100644 (file)
new mode 100755 (executable)
index 3198c1d..38b78f1
--- a/install
+++ b/install
@@ -1,2 +1,3 @@
 #!/bin/bash
 ln -is `pwd`/.vimrc ~/.vimrc
+ln -is `pwd`/.bashrc ~/.bashrc