This commit is contained in:
bgschaid 2018-04-17 20:52:00 +00:00 committed by GitHub
commit 00b1170238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,8 @@
if "$ZSH/tools/require_tool.sh" emacs 24 2>/dev/null ; then
export REAL_EMACS_PATH=$(which emacs)
export EMACS_PLUGIN_LAUNCHER="$ZSH/plugins/emacs/emacsclient.sh"
# set EDITOR if not already defined.
@ -26,6 +28,8 @@ if "$ZSH/tools/require_tool.sh" emacs 24 2>/dev/null ; then
# create a new X frame
alias eframe='emacsclient --alternate-editor "" --create-frame'
alias emacsnc="$REAL_EMACS_PATH"
alias enc="$REAL_EMACS_PATH"
# Write to standard output the path to the file
# opened in the current buffer.