dotfiles/profile
Eryn Wells 8799338169 Move some settings from profile to zshenv
.zshenv is run everytime a zsh instance is started, including subshells and the
like. Use this file, now, to set things like PATH and such that are used
frequently.

Add a setup symlink for .zshenv
2011-09-13 11:26:35 -07:00

34 lines
753 B
Bash

# .profile
# vim: ft=zsh
# Eryn Wells <eryn@erynwells.me>
# Gotta do some machine specific setup
arch=`uname -s`
case $arch in
Linux)
alias iptls='sudo iptables --line-numbers -nv -L'
alias ip6tls='sudo ip6tables --line-numbers -nv -L'
alias rlx="xrdb $HOME/.Xdefaults"
;;
Darwin)
alias indent='gnuindent'
alias acls='/bin/ls -le'
;;
esac
# NetHack options
# use color in the terminal
export NETHACKOPTIONS="color"
[ -e $HOME/.profile-local ] && source $HOME/.profile-local
# 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