Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save VladimirReshetnikov/7530480cddaabb58980b7173eaad1096 to your computer and use it in GitHub Desktop.
Save VladimirReshetnikov/7530480cddaabb58980b7173eaad1096 to your computer and use it in GitHub Desktop.
# %UserProfile%\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
Add-Type -AssemblyName WindowsBase
Add-Type -AssemblyName PresentationCore
if (-not [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::LeftCtrl))
{
Import-Module posh-git
Import-Module Pscx
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment