Refactor shell setup into ~/.zshenv and ~/.zshrc files

It was time to split the environment related stuff out to ~/.zshenv,
leaving my ~/.zshrc file specifically for setup of interactive shells.
This commit is contained in:
2020-02-22 14:27:19 +00:00
parent d283fc9474
commit 80c77c8c2b
20 changed files with 230 additions and 203 deletions

View File

@@ -32,8 +32,10 @@ SYMLINKS=(
rubocop.yml
tmux
tmux.conf
zshenv
zshrc
)
LOAD_FILES=(zshrc)
LOAD_FILES=()
#
@@ -67,11 +69,6 @@ install_symlinks () {
for i in "${SYMLINKS[@]}"; do
symlink "$SYMLINK_PATH/$i" "$TARGET/.$i"
done
# Symlink shell init file for bash and zsh
for i in "${LOAD_FILES[@]}"; do
symlink "$DOTFILES_LINK/load_shellrc.sh" "$TARGET/.$i"
done
}
install_private () {