新手PowerShell的问题猛砸别名:相当于在PowerShell中
我想打在PowerShell中的别名完全等同于该猛砸别名:
alias django-admin-jy="jython /path/to/jython-dev/dist/bin/django-admin.py"
与它修修补补,到目前为止,我我们发现这很困难。
-PowerShell别名仅使用PowerShell命令工作+函数调用
- 不明确的方式,允许在一个PowerShell函数调用
-PowerShell无限数量的论点似乎要禁止标准输出
值得一提的是,我已经尝试了解决方案把这里提出:http://huddledmasses.org/powershell-power-user-tips-bash-style-alias-command/
而且已经去tten上加载了PowerShell的语法如下相关错误:
The term 'which' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spell
ing of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\Dan\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:9 char:27
+ $cmd = @(which <<<< $_.Content)[0]
+ CategoryInfo : ObjectNotFound: (which:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
我希望我可以给你多一个+1问这个问题!非常感谢。 – 2013-04-08 12:01:57