X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=.bashrc;h=4886f331247c597ec03d1078dcd4f4fbafc37f60;hb=255090fd2c6f2e4f02ff5c35c473ffff985e1dcb;hp=518a01433defd24d0d0e90aaad017e07a3f0d7ca;hpb=336b6c6c69a03210ca9f666e82de17503a129045;p=dotfiles.git diff --git a/.bashrc b/.bashrc index 518a014..4886f33 100644 --- a/.bashrc +++ b/.bashrc @@ -1,36 +1,24 @@ -STCONTROL=ignoreboth -HISTSIZE=100000 -HISTFILESIZE=10000 +#Shopt options shopt -s checkwinsize shopt -s histappend -. /etc/bash_completion + +#Disable bell +xset -b >/dev/null 2>&1 + +#Set vim mode and macros +set -o vi +bind '"\es":"0isudo $a"' #Variables -export BROWSER=lynx +export COLORFGBG="default:default" export EDITOR=vim -export TERMINAL=urxvt +export HISTFILESIZE=10000 +export HISTSIZE=100000 +export PATH=~/home/bin:$PATH +export PYTHONDONTWRITEBYTECODE +export PYTHONPATH=~/home/lib/python2.7/site-packages +export HISTCONTROL=ignoreboth 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='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 -} - -#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 +export TERMINAL=urxvt +export LD_LIBRARY_PATH=/home/marlub/home/lib64/:/home/marlub/home/lib/:/home/marlub/home/include +export PKG_CONFIG_PATH=/home/marlub/home/lib64/pkgconfig/