From e2461d0ea44718bf82bc37cd2eab811fc4508a7b Mon Sep 17 00:00:00 2001 From: EdTheDev Date: Sat, 12 Sep 2020 12:17:44 -0500 Subject: [PATCH] Shortcut to find large files. --- Microsoft.PowerShell_profile.ps1 | 4 ++++ this.code-workspace | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 8cb7324..02abc31 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -28,6 +28,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" }, -- 2.47.3