You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having issues with my shell not including hg which is a requirement for some of the packages I wanted to install (evil). I think it's because I use zsh instead of bash and all of my pathing isn't in the normal bashrc because of that. The way I had to resolve this was by using exec-path-from-shell. I originally attempted to get it working like this
(setq
el-get-sources '(
(:name exec-path-from-shell
:after (progn
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize))
(message"hello")
))
(:name ace-jump-mode)
(:name evil
:after (progn
(setq evil-want-C-u-scroll t) ; must appear before require 'evil
(modify-syntax-entry?_"w") ; Make _ a part of the search word
(evil-set-initial-state 'git-commit-mode'insert)
(evil-mode 1)
)
)
)
)
This however changed nothing. In order to get this package working I had to move the exec-path-from-shell to the end of the script like so:
(setq
el-get-sources '(
(:name ace-jump-mode)
(:name evil
:after (progn
(setq evil-want-C-u-scroll t) ; must appear before require 'evil
(modify-syntax-entry?_"w") ; Make _ a part of the search word
(evil-set-initial-state 'git-commit-mode'insert)
(evil-mode 1)
)
)
(:name exec-path-from-shell
:after (progn
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize))
(message"hello")
))
)
)
Is this intenttional for some reason? Also, is there a better way to do this to make sure requirements get executed first?
The text was updated successfully, but these errors were encountered:
The order of el-get-sources doesn't determine anything by itself. El-get has :depends but that is for runtime dependency, and what you're talking about is install/build time.
If you're doing some like (el-get 'sync (mapcar 'el-get-source-name el-get-sources)), then I think explicitly installing exec-path-from-shell first should do the trick:
I was having issues with my shell not including hg which is a requirement for some of the packages I wanted to install (evil). I think it's because I use zsh instead of bash and all of my pathing isn't in the normal bashrc because of that. The way I had to resolve this was by using exec-path-from-shell. I originally attempted to get it working like this
This however changed nothing. In order to get this package working I had to move the exec-path-from-shell to the end of the script like so:
Is this intenttional for some reason? Also, is there a better way to do this to make sure requirements get executed first?
The text was updated successfully, but these errors were encountered: