Dont load powershell stuff

This commit is contained in:
Marcus Kammer 2023-02-06 16:27:01 +01:00
parent 5d97eda309
commit e7f5522aa3

View file

@ -37,13 +37,13 @@
("german,english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "de_DE_frami,en_US") nil utf-8)) ("german,english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "de_DE_frami,en_US") nil utf-8))
ispell-hunspell-dictionary-alist ispell-local-dictionary-alist) ispell-hunspell-dictionary-alist ispell-local-dictionary-alist)
(defun powershell (&optional buffer) ;; (defun powershell (&optional buffer)
"Launches a powershell in buffer *powershell* and switches to it." ;; "Launches a powershell in buffer *powershell* and switches to it."
(interactive) ;; (interactive)
(let ((buffer (or buffer "*powershell*")) ;; (let ((buffer (or buffer "*powershell*"))
(powershell-prog "C:\\Program Files\\PowerShell\\7\\pwsh.exe")) ;; (powershell-prog "C:\\Program Files\\PowerShell\\7\\pwsh.exe"))
(make-comint-in-buffer "shell" "*powershell*" powershell-prog) ;; (make-comint-in-buffer "shell" "*powershell*" powershell-prog)
(switch-to-buffer buffer))) ;; (switch-to-buffer buffer)))
(when (string= (system-name) "EVG02667NB") (when (string= (system-name) "EVG02667NB")
(cd "d:/opt") (cd "d:/opt")