Dotfiles


.rtorrentrc

stop_on_ratio = 5
directory = ~/public_html/.rtorrent/incoming
schedule = watch_directory,5,5,load_start=~/public_html/.rtorrent/watch/*.torrent
schedule = untied_directory,5,5,stop_untied=

.vimrc

:syntax on
:set tabstop=2
:set nowrap

.zshrc

export PS1="$(print '%{\e[1;32m%}')%d> $(print '%{\e[0m%}')"
export RPS1="$(print '%{\e[1;34m%}')%n$(print '%{\e[1;31m%}')@%M$(print '%{\e[0m%}')"

alias md5binaries='sudo -c `for i in $(find /usr/bin/* /bin/*  /usr/sbin/* /sbin/* -type f); do md5sum $i; done`'

if [ `cat /etc/hostname` = "idefix" ]; then 
	alias -g mplayer='mplayer -cache 20000 -monitoraspect 16:10 -fs'
	alias vnc='x11vnc -clip 1280x800+1450+0 -noxdamage'
	export AWT_TOOLKIT=MToolkit
fi

alias l='ls --color=auto'
alias ll='ls --color=auto -lah'
alias c="clear"
alias ..='cd ..'
alias ...='cd ../..'
alias ~='cd ~'
alias -g ^^='|less'
alias -g ^='|grep'

suidfind() { ls -latg $path/*(sN) }

status() {
        print ""
        print "Date..: "$(date "+%Y-%m-%d %H:%M:%S")""
        print "Shell.: Zsh $ZSH_VERSION (PID = $$, $SHLVL nests)"
        print "Term..: $TTY ($TERM), $BAUD bauds, $COLUMNS x $LINES cars"
        print "Login.: $LOGNAME (UID = $EUID) on $HOST"
        print "System: $(cat /etc/[A-Za-z]*[_-][rv]e[lr]*)"
        print "Uptime:$(uptime)"
        print ""
}

.screenrc

caption always "%{+b bk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}net: %2`)  %-21=%{wk}%D %d.%m.%Y %0c"
hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"