Can I use powershell as the shell, in shell mode for emacs?
How?
views:
255answers:
4This is interesting, but not what I was asking about. I was asking about how to RUN powershell within emacs, not how to EDIT powershell scripts within emacs.
Cheeso
2009-05-16 15:23:12
+1
A:
The quickest way to find out would be to run shell-mode, and then run powershell from the command line.
Charlie Martin
2009-05-16 14:24:48
+3
A:
See Jeffrey Snover's blog post PowerShell running inside of Emacs
John D. Cook
2009-05-16 14:55:39
A more useful link would be http://blogs.msdn.com/dotnetinterop/archive/2008/04/10/run-powershell-as-a-shell-within-emacs.aspx
Chris Conway
2009-05-16 17:26:03
+1
A:
Based on the blog post Run PowerShell as a shell within Emacs:
In the install directory for Emacs within
..\emacs\site-lisp
, save a new file namedpowershell.el
as provided in the post mentioned above.Add the following to your .emacs file:
(autoload 'powershell "powershell" "Run powershell as a shell within emacs." t)
Once done, use M-x powershell
to open and interactively use a PS shell buffer.
Ray Vega
2010-01-05 19:14:48