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))
ispell-hunspell-dictionary-alist ispell-local-dictionary-alist)
(defun powershell (&optional buffer)
"Launches a powershell in buffer *powershell* and switches to it."
(interactive)
(let ((buffer (or buffer "*powershell*"))
(powershell-prog "C:\\Program Files\\PowerShell\\7\\pwsh.exe"))
(make-comint-in-buffer "shell" "*powershell*" powershell-prog)
(switch-to-buffer buffer)))
;; (defun powershell (&optional buffer)
;; "Launches a powershell in buffer *powershell* and switches to it."
;; (interactive)
;; (let ((buffer (or buffer "*powershell*"))
;; (powershell-prog "C:\\Program Files\\PowerShell\\7\\pwsh.exe"))
;; (make-comint-in-buffer "shell" "*powershell*" powershell-prog)
;; (switch-to-buffer buffer)))
(when (string= (system-name) "EVG02667NB")
(cd "d:/opt")