Skip to content

Prompts

Nate Ferrell edited this page Aug 22, 2019 · 4 revisions

Synopsis

An overview of the Prompts concept in PSProfile.

Description

Prompts are stored as a hashtable in the PSProfile object property $PSProfile.Prompts. Each prompt is stored with a friendly name as the key and the prompt definition as the value.

The default prompt name is stored in $PSProfile.Settings.DefaultPrompt and is set as the active prompt once PSProfile is loaded.

Commands

Adds a new Prompt to your PSProfile.

Opens the current Prompt's definition in Visual Studio Code as a temporary file. After updating, save the file and close it and it will be immediately updated in your current session as well as in your PSProfile configuration.

Gets a Prompt or the list of Prompts from your PSProfile configuration.

Removes a Prompt from your PSProfile.

Switches to a different Prompt from your PSProfile configuration.

PSProfile

Concepts

Function Help

Command Aliases

Configuration

Helpers

Init Scripts

Meta

Modules to Import

Modules to Install

Path Aliases

Plugin Paths

Plugins

Power Tools

Project Paths

Prompts

Script Paths

Secrets

Symbolic Links

Variables

Badges

Azure Pipelines      Discord - Chat      Slack - Chat      Codacy PowerShell Gallery      GitHub Releases      GitHub Releases

Clone this wiki locally