shell: Wrap terminal-here in use-package
Introduced in PR #11949, terminal-here wasn't wrapped in `use-package'. This made it impossible to use `spacemacs|use-package-add-hook' to customize it.
This commit is contained in:
parent
67f62c6fd3
commit
0417379a2f
1 changed files with 10 additions and 8 deletions
|
@ -295,14 +295,16 @@
|
|||
(add-hook 'eshell-mode-hook 'spacemacs/init-eshell-xterm-color))))
|
||||
|
||||
(defun shell/init-terminal-here ()
|
||||
:defer t
|
||||
:init
|
||||
(progn
|
||||
(spacemacs/register-repl 'terminal-here 'terminal-here)
|
||||
(spacemacs/set-leader-keys
|
||||
"\"" 'terminal-here-launch
|
||||
"p \"" 'terminal-here-project-launch)
|
||||
))
|
||||
(use-package terminal-here
|
||||
:defer t
|
||||
:commands (terminal-here-launch terminal-here-project-launch)
|
||||
:init
|
||||
(progn
|
||||
(spacemacs/register-repl 'terminal-here 'terminal-here)
|
||||
(spacemacs/set-leader-keys
|
||||
"\"" 'terminal-here-launch
|
||||
"p \"" 'terminal-here-project-launch)
|
||||
)))
|
||||
|
||||
(defun shell/post-init-vi-tilde-fringe ()
|
||||
(spacemacs/add-to-hooks 'spacemacs/disable-vi-tilde-fringe
|
||||
|
|
Reference in a new issue