Initial commit

This commit is contained in:
Eryn Wells 2011-05-03 21:53:50 -07:00
commit 662fe0334c
37 changed files with 1614 additions and 0 deletions

46
profile Normal file
View file

@ -0,0 +1,46 @@
# .profile
# vim: ft=zsh
# Eryn Wells <eryn@3b518c.com>
# Environment settings
PAGER="less"
MANPAGER="less"
EDITOR="vim"
VISUAL=$EDITOR
LESSHISTFILE="-"
GREP_OPTIONS="--color=auto"
GREP_COLOR="1;32"
export PAGER MANPAGER EDITOR VISUAL LESSHISTFILE GREP_OPTIONS GREP_COLOR
# Gotta do some machine specific setup
arch=`uname -s`
case $arch in
Linux)
export MAIL="/var/mail/$USER"
alias iptls='sudo iptables --line-numbers -nv -L'
alias ip6tls='sudo ip6tables --line-numbers -nv -L'
alias rlx="xrdb $HOME/.Xdefaults"
;;
Darwin)
PATH=/opt/local/bin:$PATH # MacPorts
alias indent='gnuindent'
;;
esac
# NetHack options
# use color in the terminal
export NETHACKOPTIONS="color"
[ -e $HOME/.profile-local ] && source $HOME/.profile-local
[ -d $HOME/bin ] && PATH=$HOME/bin:$PATH
# Start SSH agent for password-less logins
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]
then
eval `ssh-agent -s`
trap "kill $SSH_AGENT_PID" 0
fi
LEDGER_FILE=$HOME/Documents/Financial/personal.ledger
export LEDGER_FILE PATH