我正在使用powershell脚本,脚本正在调用.ps1中的.bat文件来运行nmake,这对我没有意义,所以我希望将所有内容都移动到一个ps脚本中,添加编写脚本会引发此错误The term 'NMAKE' is not recognized as the name of a cmdlet, function, script file...。无论如何,从PowerShell运行nmake?
首先,您可以参考这个伟大的帖子:Bash bind以更好地理解我想实现的目标。 我要实现的是,当我按下回车,然后更新壳动态提示,现在我已经是: __update_shell_prompt() {
# according what I had done in the terminal regenerate the new shell prompt
# new_shell_prom