Dotfile refactoring.

This commit is contained in:
David Tomaschik
2015-12-10 19:37:53 -08:00
parent 138f9ef3c3
commit ec69fed5d2
5 changed files with 37 additions and 52 deletions

View File

@@ -1,3 +1,4 @@
# For interactive shells
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
@@ -45,8 +46,9 @@ bindkey '^[[B' history-search-forward
bindkey '^[[1;5C' forward-word
bindkey '^[[1;5D' backward-word
# Source extras if interactive
# Source extras and aliases if interactive
if [[ $- == *i* ]] ; then
if [[ -e $HOME/.aliases ]] ; then source $HOME/.aliases ; fi
for file in $HOME/.zshrc.d/* ; do source "$file" ; done
fi