打开PowerShell时如何设置就绪命令?

时间:2015-11-18 11:47:24

标签: windows powershell

我主要使用powershell来运行服务器,即我的第一个命令(大部分)是

  

python manage.py runserver

我很少使用其他命令。

如何配置powershell以使用该命令打开窗口。请注意:我已将powershell配置为在所需目录中打开。

1 个答案:

答案 0 :(得分:2)

您可以使用PowerShell配置文件预加载PowerShell会话中有用的任何内容(变量,函数,命令等):

All About PowerShell Profiles