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
powershell.txt · 最終更新: 2017/01/07 13:10 by Takuya Nishimoto
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0