Last active
November 12, 2024 12:53
-
-
Save guimondmm/1a2e47d73a191429c7f8b0c12729dc59 to your computer and use it in GitHub Desktop.
Add an "Anaconda PowerShell Prompt" profile to Windows Terminal. Just paste it in your settings.json file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"colorScheme": "Campbell", | |
"commandline": "pwsh.exe -ExecutionPolicy ByPass -NoExit -Command \"& '%USERPROFILE%\\anaconda3\\shell\\condabin\\conda-hook.ps1' ; conda activate '%USERPROFILE%\\anaconda3' \"", | |
"guid": "{e7d34d61-5a57-4f38-8eab-91cb777b0c26}", | |
"hidden": false, | |
"icon": "%USERPROFILE%\\anaconda3\\Menu\\anaconda-navigator.ico", | |
"name": "Anaconda PowerShell Prompt", | |
"startingDirectory": "%USERPROFILE%" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Folks should change the GUID.
Below is the section if using miniconda
{ "commandline": "%PROGRAMFILES%\\PowerShell\\7\\pwsh.exe -ExecutionPolicy ByPass -NoExit -Command \"& '%USERPROFILE%\\miniconda3\\shell\\condabin\\conda-hook.ps1' ; conda activate '%USERPROFILE%\\miniconda3' \"", "guid": "{ba3f6141-a2f2-5472-b294-a7d7fb0e264f}", "icon": "%USERPROFILE%\\miniconda3\\Menu\\anaconda_powershell_prompt.ico", "name": "miniconda3 powershell 7", "startingDirectory": "%USERPROFILE%" }