Created
August 2, 2012 12:07
-
-
Save PyYoshi/3236576 to your computer and use it in GitHub Desktop.
virtualenvwrapper-powershell用のプロファイル
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # virtualenvwrapper用の設定 | |
| $WORKON_HOME = "$HOME\.virtualenvs" | |
| $env:WORKON_HOME = $WORKON_HOME | |
| # $WORKON_HOMEがない場合は作成する | |
| if(-not(Test-Path -Path $WORKON_HOME)){ | |
| New-Item -Path $WORKON_HOME -itemType Directory | Out-Null | |
| } | |
| # virtualenvwrapper-powershellを起動時にロードする | |
| $virtualenv_module_path = "$profile\..\Modules\VirtualEnvWrapper" | |
| Import-Module $virtualenv_module_path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment