dotfiles/profilevars

23 lines
593 B
Plaintext
Raw Normal View History

2020-08-08 18:10:04 -04:00
# this and included scripts should be written in portable shell.
PATH=$HOME/.bin:$PATH
EDITOR="emacsclient -n"
GIT_EDITOR="emacsclient"
BROWSER="firefox"
PAGER=most
LC_ALL=en_US.UTF-8
if [ -z "SSH_AGENT_PID" ] ; then
eval `ssh-agent`
fi
# Platorm Specific Vars
case $OSTYPE in
darwin*)
[ -f ~/dotfiles/profilevars_mac ] && . ~/dotfiles/profilevars_mac
2020-08-08 18:10:04 -04:00
;;
freebsd*)
[ -f ~/dotfiles/profilevars_bsd ] && . ~/dotfiles/profilevars_bsd
2020-08-08 18:10:04 -04:00
;;
linux-gnu)
[ -f ~/dotfiles/profilevars_linux] && . ~/dotfiles/profilevars_linux
2020-08-08 18:10:04 -04:00
;;
esac
export PATH EDITOR GIT_EDITOR PAGER BROSWER LC_ALL