feat(emacs): add emacs-sandbox.sh CLI tool

This commit is contained in:
2021-07-09 11:10:22 +01:00
parent b2b6b20c71
commit 499b7e4ccc

View File

@@ -19,6 +19,10 @@ fi
# add doom-emacs' bin directory to path if it exists # add doom-emacs' bin directory to path if it exists
path_prepend "$HOME/.config/doom-emacs/bin" path_prepend "$HOME/.config/doom-emacs/bin"
# install emacs-sandbox.sh
zinit ice wait lucid as'program' pick'emacs-sandbox.sh' from'gh'
zinit light alphapapa/emacs-sandbox.sh
# Setup vterm if shell is within vterm inside Emacs. # Setup vterm if shell is within vterm inside Emacs.
if [[ "$INSIDE_EMACS" = 'vterm' ]]; then if [[ "$INSIDE_EMACS" = 'vterm' ]]; then
if [[ -n "${EMACS_VTERM_PATH}" ]] && if [[ -n "${EMACS_VTERM_PATH}" ]] &&