Do things in emacs from terminal (macOS).
Switch from in terminal to magit
or dired
in emacs.
Via https://fosstodon.org/@chmouel/113760902087055976
To use, the module directory needs to be found in pmodule-dirs
, so e.g. in zpreztorc
:
# Add additional directories to load prezto modules from
-# zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
+zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
It could also be placed in /contrib
or /modules
which are already in default pmodule-dirs
.
cd $HOME/.zprezto-contrib
git clone https://github.com/idcrook/prezto-emacs-action.git emacs-action
# or alternatively
git submodule add https://github.com/idcrook/prezto-emacs-action emacs-action
The module itself (above cloned to be named emacs-action
) needs to be explicitly loaded in ${ZDOTDIR:-$HOME}/.zpreztorc
Modules are loaded via zstyle ':prezto:load' pmodule
'osx' \
'emacs-action' \
In mine, I've loaded it after osx
module.
magit
dired