X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/912c2bab7be11a698a15285e4089dccf35c870d8..cb16813e3729205463815e7eb378477e5b9d2d34:/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index e75befa..7f54a1d 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -117,6 +117,11 @@ function Start-DockerFindSecrets { docker run -v /c/src:/etc/src dxa4481/trufflehog /etc/src/SecOps-Tools } +function Export-VSCodeExtensions { + code --list-extensions | Out-File -FilePath /src/dotfiles/vscode-extensions.txt + Get-Content -Path /src/dotfiles/vscode-extensions.txt +} + #requires -version 5.1 #ConvertTo-ASCIIArt.ps1