From: EdTheDev Date: Sat, 12 Sep 2020 17:17:44 +0000 (-0500) Subject: Shortcut to find large files. X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/5a6f185b2159c696c3dab735d6428c63d7ef661e?ds=sidebyside Shortcut to find large files. --- diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index d2fd450..8c9c6a1 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -13,6 +13,10 @@ $ENV:PATH+=";C:\Program Files\nodejs" # KataKoda wants to add tools via npm $ENV:PATH+=";C:\PENGUIN" # Flag to ensure my profile kicked in. +function Find-LargeFiles() { + Get-ChildItem c:\ -r| sort -descending -property length | select -first 10 name, Length, Location +} + function Start-Vault() { consul agent -dev # Run in Dev Mode diff --git a/this.code-workspace b/this.code-workspace index d6801ba..a63f297 100644 --- a/this.code-workspace +++ b/this.code-workspace @@ -17,12 +17,10 @@ "activityBarBadge.background": "#945bc4", "activityBarBadge.foreground": "#e7e7e7", "statusBar.background": "#42b883", - "statusBar.border": "#42b883", "statusBar.foreground": "#15202b", "statusBarItem.hoverBackground": "#359268", "titleBar.activeBackground": "#42b883", "titleBar.activeForeground": "#15202b", - "titleBar.border": "#42b883", "titleBar.inactiveBackground": "#42b88399", "titleBar.inactiveForeground": "#15202b99" },