mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 06:46:40 +00:00
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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user