Cmder Setup Steps
Working director
Set this on the short cut working directory.
For Command history Install the PSReadLine
Install-Module -Name PSReadLine
Copy below Set-PSReadLineKeyHandler instructions to “C:\Program Files\cmder_mini\vendor\profile.ps1” file
Import-Module PSReadLine
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward
Set-PSReadLineKeyHandler -Key Tab -Function Complete
Copy below to “C:\Program Files\cmder_mini\vendor\profile.ps1” file
$MyModules = "C:\Users\Administrator\Work\bitbucket\myutilities\MyScripts\MyModules"
if ( -not $env:PSModulePath.Contains($MyModules) ) {
$env:PSModulePath = $env:PSModulePath.Insert(0, "$MyModules;")
}