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

@@ -2,7 +2,7 @@
# Emacs
#
# OS X systems.
# macOS systems
if [ -f "/Applications/Emacs.app/Contents/MacOS/Emacs" ]; then
alias emacs="env TERM=screen-24bit /Applications/Emacs.app/Contents/MacOS/Emacs -nw"
fi
@@ -10,8 +10,3 @@ fi
if [ -f "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient" ]; then
alias emacsclient="env TERM=screen-24bit /Applications/Emacs.app/Contents/MacOS/bin/emacsclient"
fi
# *nix systems.
if [ -d "/opt/emacs/bin" ]; then
path_append "/opt/emacs/bin"
fi