X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=.bashrc;h=c7c30d0c25ff35c3ab5ac4ee1236dc102121c417;hb=3ce5198b704dba3e81a61d67e431f45a0f4e3ff4;hp=ed10c9675931acd9faf6dbc3c63e993dc349f4cd;hpb=6a27a354a266e6a281f4a91a56cfb238cac5c44b;p=dotfiles.git diff --git a/.bashrc b/.bashrc index ed10c96..c7c30d0 100644 --- a/.bashrc +++ b/.bashrc @@ -1,36 +1,18 @@ -STCONTROL=ignoreboth -HISTSIZE=100000 -HISTFILESIZE=10000 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 TERMINAL=urxvt 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 -#Colors yeeeyyyy alias ls='ls --color=auto' alias grep='grep --color=auto' -#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 +[ ! -s ~/.config/mpd/pid ] && mpd