have local stuff stay local.

master
Rachel Fae Fox 2020-08-09 17:44:43 -04:00
parent aba259b42b
commit 9c6c248436
6 changed files with 16 additions and 12 deletions

3
bashrc
View File

@ -8,4 +8,5 @@
. ~/dotfiles/aliases
# Set prompt
PS1="\[\e[0;33m\]\u@\h\[\e[m\]: \[\e[0;34m\]\w\[\e[m\] \$ "
PS1="\[\e[0;33m\]\u@\h\[\e[m\]: \[\e[0;34m\]\w\[\e[m\] \$ "
[ -f ~/.bashrc_local ] && . ~/.bashrc.local

View File

@ -24,6 +24,8 @@
(load "evil-bindings.el")
(when (file-readable-p "~/.emacs.d/loadins/private.el")
(load "private.el"))
(when (file-readable-p "~/.emacs.d/local.el")
(load "local.el"))
(load "org-vars.el")
(load "backups.el")
(load "autoinsert-options.el")

View File

@ -1,13 +1,8 @@
# this and included scripts should be written in portable shell.
PATH=$HOME/.bin:$PATH
EDITOR="emacsclient -n"
GIT_EDITOR="emacsclient"
BROWSER="firefox"
EDITOR="emacs -nw"
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*)
@ -21,3 +16,4 @@ case $OSTYPE in
;;
esac
export PATH EDITOR GIT_EDITOR PAGER BROSWER LC_ALL
[ -f ~/.profilesvars.local ] && . ~/.profilevars.local

View File

@ -1 +1,4 @@
. ~/dotfiles/profilevars
. ~/dotfiles/profilevars
if [ -z "SSH_AGENT_PID" ] ; then
eval `ssh-agent`
fi

8
zlogin
View File

@ -2,12 +2,14 @@
# Load additions
case $OSTYPE in
darwin*)
[-f ~/.dotfiles/zlogin_mac ] && . ~/.dotfiles/zlogin_mac
[ -f ~/.dotfiles/zlogin_mac ] && . ~/.dotfiles/zlogin_mac
;;
freebsd*)
[-f ~/.dotfiles/zlogin_bsd ] && . ~/.dotfiles/zlogin_bsd
[ -f ~/.dotfiles/zlogin_bsd ] && . ~/.dotfiles/zlogin_bsd
;;
linux-gnu)
[-f ~/.dotfiles/zlogin_linux ] && . ~/.dotfiles/zlogin_linux
[ -f ~/.dotfiles/zlogin_linux ] && . ~/.dotfiles/zlogin_linux
;;
esac
[ -f ~/.zlogin_local ] && . ~/.zlogin.local

2
zshrc
View File

@ -1,4 +1,3 @@
. ~/dotfiles/profilevars
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
@ -24,3 +23,4 @@ case $OSTYPE in
[ -f ~/dotfiles/zshrc_linux ] && . ~/dotfiles/zshrc_linux
;;
esac
[ -f ~/.zshrc_local ] && . ~/.zshrc.local