-
Notifications
You must be signed in to change notification settings - Fork 8
Project Paths
An overview of the Project Paths concept in PSProfile.
Project Paths are stored as an array of strings in the PSProfile
object property $PSProfile.ProjectPaths
. This property is
intended for any folders which contain Git repo folders underneath
them.
Git repos found within the Project Path directories are added
to the hashtable $PSProfile.GitPathMap
with the folder name as the
key and the full path as the value for each. Various functions
leverage this dictionary for argument completers, especially in the
functions in the included PSProfile.PowerTools
plugin. Example
functions that make use of this dictionary are Open-Code
,
Push-Path
and Open-Item
.
Any build.ps1
files found in these folders will also be added to
a second hashtable $PSProfile.PSBuildPathMap
. This enables
tab-completion of common build script paths when using
Start-BuildScript
from PSProfile.PowerTools
.
These paths are searched for projects during the PSProfile refresh
only. If you add a new Project Path, it is recommended to run
Update-PSProfileConfig
to immediately refresh your path dictionaries.
Adds a new Project Path to your PSProfile.
Gets a Project Path or the list of Project Paths from your PSProfile configuration.
Removes a Project Path from your PSProfile.
- 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
- Export-PSProfileConfiguration
- Import-PSProfile
- Import-PSProfileConfiguration
- Save-PSProfile
- Start-PSProfileConfigurationHelper
- Update-PSProfileConfig
- Update-PSProfileRefreshFrequency
- Update-PSProfileSetting
- Add-PSProfileToProfile
- Copy-Parameters
- Get-LastCommandDuration
- Get-PathAlias
- Get-PSProfileArguments
- Get-PSVersion
- Test-IfGit
- Write-PSProfileLog
- Add-PSProfileInitScript
- Disable-PSProfileInitScript
- Edit-PSProfileInitScript
- Enable-PSProfileInitScript
- Get-PSProfileInitScript
- Remove-PSProfileInitScript
- Confirm-ScriptIsValid
- Enter-CleanEnvironment
- Format-Syntax
- Get-Definition
- Get-Gist
- Get-LongPath
- Install-LatestModule
- Open-Code
- Open-Item
- Pop-Path
- Push-Path
- Start-BuildScript
- Test-RegEx
- Add-PSProfilePrompt
- Edit-PSProfilePrompt
- Get-PSProfilePrompt
- Remove-PSProfilePrompt
- Switch-PSProfilePrompt