pwsh_workspaces/README.md

17 lines
729 B
Markdown
Raw Permalink Normal View History

2025-01-25 00:04:31 +00:00
## Description
Workspaces are just a name and a path. The contents of `.pwsh_workspace_settings` are comma
delimited `name,path`
## Usage
2025-01-25 00:03:06 +00:00
Copy the contents of this script and add to your Powershell script at `$profile`
Call `Add-Workspace` and if it is the first workspace to be added, a textfile named `.pwsh_workspace_settings.txt`
will be created at `%USERPROFILE%`.
Call `Use-Workspace` to set the parameter `$activeWorkspace`
What this means is now you can write "workspace relative" functions where they operate expecting that
`$activeWorkspace` is set.
There are some Unreal specific commands such as `Use-UE-Workspace` and this performs an additional
step of trying to load ushell into the current powershell session