Major revamp of shell init - drop bash support, focus on zsh

This commit is contained in:
2018-07-20 00:46:33 +01:00
parent 582a97c7af
commit a53788f5c4
39 changed files with 210 additions and 649 deletions

17
zsh/emacs.zsh Normal file
View File

@@ -0,0 +1,17 @@
#
# Emacs
#
# OS X systems.
if [ -f "/Applications/Emacs.app/Contents/MacOS/Emacs" ]; then
alias emacs="/Applications/Emacs.app/Contents/MacOS/Emacs -nw"
fi
if [ -f "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient" ]; then
alias emacsclient="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient"
fi
# *nix systems.
if [ -d "/opt/emacs/bin" ]; then
path_append "/opt/emacs/bin"
fi