Skip to content

Instantly share code, notes, and snippets.

@viniciusjarina
Last active January 26, 2021 16:04
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viniciusjarina/479706c0d674ba6178790c0497f01288 to your computer and use it in GitHub Desktop.
Save viniciusjarina/479706c0d674ba6178790c0497f01288 to your computer and use it in GitHub Desktop.
~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
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"
}
@viniciusjarina
Copy link
Author

Place this profile at ~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment