The module SciProfile is in an experimental status and will be developed to achieve a stable version as fast as possible. The documentation of several functions has to be customized, due to the last changes.
Extension to local profile of PowerShell, especially for scientific work with literature and writing with LaTeX as well as the development of packages with PowerShell, Python, C#, C++ in Visual Studio Code
SciProfile is published to the Powershell Gallery and can be installed as follows:
Install-Module SciProfile -AllowClobber
Because of overriding powershell's built-in function prompt
, the additional parameter -AllowClobber
has to be used.
The following PowerShell modules will be automatically installed:
SciProfile creates automatically a configuration file in folder %USERPRFOFILE%\.config\sciprofile
. Moreover, SciProfile searches for configuration directories in environment variable %XDG_CONFIG_HOME%
and %XDG_CONFIG_DIRS%
. It is recommended to use a predefined configuration folder across several projects.
[settings]
; default path where user's sciprofile settings are located
work-dir = %(XDG_CONFIG_HOME%)s\SciProfile
[sciprofile]
; path where local powershell modules are located
module-dir = A:\Documents\PowerShell\Modules
An module specific extension of PSIni
enables the exploitation of a reference fields reference-field
inside a section, which can be applied via %(reference-field)s
. This pattern will be replaced with the value defined in reference-field
. If the defined reference field exists not in section, system's environment variables will be evaluated and, if any, used for replacing the pattern.
Command | Alias | Description |
---|---|---|
Get-VirtualEnvConfig |
Get the content of current module config file. | |
Edit-VirtualEnvConfig |
Edit the content of current module config file. |