Last active
January 26, 2021 16:04
-
-
Save viniciusjarina/479706c0d674ba6178790c0497f01288 to your computer and use it in GitHub Desktop.
~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
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
Set-Alias -Name "open" -Value "explorer" | |
Import-Module 'C:\Users\vinic\posh-git\posh-git\src\posh-git.psd1' | |
#Import-Module 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\vsdevshell\Microsoft.VisualStudio.DevShell.dll' | |
#& { Import-Module 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\vsdevshell\Microsoft.VisualStudio.DevShell.dll'; Enter-VsDevShell -InstanceId bd6d43cd} | |
Import-Module 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\vsdevshell\Microsoft.VisualStudio.DevShell.dll' | |
Enter-VsDevShell -InstanceId bd6d43cd | |
# Settings for the prompt are in GitPrompt.ps1, so add any desired settings changes here. | |
# Example: | |
cd ~\projects\ | |
# Chocolatey profile | |
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" | |
if (Test-Path($ChocolateyProfile)) { | |
Import-Module "$ChocolateyProfile" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place this profile at ~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1