目次

Windows PowerShell

since 2017-01-07

chocolatey の続き。

http://www.howtogeek.com/50236/customizing-your-powershell-profile/

λ New-Item -path $profile -type file –force

λ echo $profile
C:\Users\nishimotz\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

λ runemacs $profile

例えばこう書いておく

set-item env:LANG -value C

そうするとシェルを開くたびに実行してくれる:

λ cat $profile
set-item env:LANG -value C