Improve the WSL check

This commit is contained in:
Bozhidar Batsov 2020-10-08 15:45:38 +03:00
parent 08119140ef
commit 0a062e74de

View file

@ -123,7 +123,7 @@ by Prelude.")
(require 'prelude-linux)) (require 'prelude-linux))
;; WSL specific setting ;; WSL specific setting
(when (getenv "WSLENV") (when (and (eq system-type 'gnu/linux) (getenv "WSLENV"))
(require 'prelude-wsl)) (require 'prelude-wsl))
;; Windows specific settings ;; Windows specific settings