Add basic powershell profile
This commit is contained in:
commit
a92243688a
11
Documents/WindowsPowerShell/Microsoft.PowerShell_profile.ps1
Normal file
11
Documents/WindowsPowerShell/Microsoft.PowerShell_profile.ps1
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
|
||||||
|
Set-PSReadLineOption -EditMode Emacs
|
||||||
|
|
||||||
|
Function ecn { emacsclient -c -n @args }
|
||||||
|
New-Alias et ecn
|
||||||
|
|
||||||
|
# Chocolatey profile
|
||||||
|
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
||||||
|
if (Test-Path($ChocolateyProfile)) {
|
||||||
|
Import-Module "$ChocolateyProfile"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user