Skip to content

arrrgi/modular-ps-prompt

Repository files navigation

Modular-PS-Prompt

A Modular PowerShell CLI Prompt forked from https://github.com/Namorzyny/PSLittleTrain.

The original maintainer has removed and no longer maintains the source repository.

Dependencies

Prior to installation, ensure the PSReadline module is installed. PowerShell >= 6.x already includes this.

Optionally, install posh-git for git command completion. The quickest way to do this is with Chocolatey choco install poshgit.

Installation

Source this module and set PSReadLine options with the following snippet in your Microsoft.Powershell_profile.ps1 file:

Import-Module LittleTrainPrompt

$PSReadLineOptions = @{
  HistoryNoDuplicates = $true
  HistorySaveStyle = "SaveIncrementally"
  HistorySearchCursorMovesToEnd = $true
}

Set-PSReadLineOption @PSReadLineOptions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published