mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 11:09:54 +00:00
Fix #180: Error for TRAMP python in doom-modeline-env.
Check if the env command exists.
This commit is contained in:
parent
b0e61befc9
commit
97dba610f8
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ Example: 'doom-modeline-env--ruby")
|
|||
"Update environment info on mode-line."
|
||||
(when (and doom-modeline-env-version
|
||||
doom-modeline-env--command
|
||||
(executable-find doom-modeline-env--command)
|
||||
doom-modeline-env--command-args
|
||||
doom-modeline-env--parser)
|
||||
(let ((default-directory (doom-modeline-project-root))
|
||||
|
|
Loading…
Reference in a new issue