Equivalent to Bash Alias in Powershell
Posted
by RightFullRudder
on Stack Overflow
See other posts from Stack Overflow
or by RightFullRudder
Published on 2010-03-18T07:32:06Z
Indexed on
2010/03/21
7:21 UTC
Read the original article
Hit count: 532
powershell
|django
Hi there, a newbie powershell question:
I'd like to make an alias in powershell exactly equivalent to this Bash alias:
alias django-admin-jy="jython /path/to/jython-dev/dist/bin/django-admin.py"
In tinkering with it so far, I've found this to be very difficult.
-Powershell Aliases only work with Powershell commands + function calls
-No clear way to allow for an unlimited number of args on a powershell function call
-Powershell seems to block stdout
© Stack Overflow or respective owner