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 . ~/dotfiles/aliases
# Set prompt # 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") (load "evil-bindings.el")
(when (file-readable-p "~/.emacs.d/loadins/private.el") (when (file-readable-p "~/.emacs.d/loadins/private.el")
(load "private.el")) (load "private.el"))
(when (file-readable-p "~/.emacs.d/local.el")
(load "local.el"))
(load "org-vars.el") (load "org-vars.el")
(load "backups.el") (load "backups.el")
(load "autoinsert-options.el") (load "autoinsert-options.el")

View File

@ -1,13 +1,8 @@
# this and included scripts should be written in portable shell. # this and included scripts should be written in portable shell.
PATH=$HOME/.bin:$PATH PATH=$HOME/.bin:$PATH
EDITOR="emacsclient -n" EDITOR="emacs -nw"
GIT_EDITOR="emacsclient"
BROWSER="firefox"
PAGER=most PAGER=most
LC_ALL=en_US.UTF-8 LC_ALL=en_US.UTF-8
if [ -z "SSH_AGENT_PID" ] ; then
eval `ssh-agent`
fi
# Platorm Specific Vars # Platorm Specific Vars
case $OSTYPE in case $OSTYPE in
darwin*) darwin*)
@ -21,3 +16,4 @@ case $OSTYPE in
;; ;;
esac esac
export PATH EDITOR GIT_EDITOR PAGER BROSWER LC_ALL 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 # Load additions
case $OSTYPE in case $OSTYPE in
darwin*) darwin*)
[-f ~/.dotfiles/zlogin_mac ] && . ~/.dotfiles/zlogin_mac [ -f ~/.dotfiles/zlogin_mac ] && . ~/.dotfiles/zlogin_mac
;; ;;
freebsd*) freebsd*)
[-f ~/.dotfiles/zlogin_bsd ] && . ~/.dotfiles/zlogin_bsd [ -f ~/.dotfiles/zlogin_bsd ] && . ~/.dotfiles/zlogin_bsd
;; ;;
linux-gnu) linux-gnu)
[-f ~/.dotfiles/zlogin_linux ] && . ~/.dotfiles/zlogin_linux [ -f ~/.dotfiles/zlogin_linux ] && . ~/.dotfiles/zlogin_linux
;; ;;
esac esac
[ -f ~/.zlogin_local ] && . ~/.zlogin.local

2
zshrc
View File

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