]> apps.delaporte.us Git - dotfiles.git/commitdiff
Merge branch 'main' of github.com:edthedev/dotfiles into main
authorEdTheDev <edward@delaporte.us>
Sun, 9 Jan 2022 22:16:59 +0000 (16:16 -0600)
committerEdTheDev <edward@delaporte.us>
Sun, 9 Jan 2022 22:16:59 +0000 (16:16 -0600)
.gitignore
Microsoft.PowerShell_profile.ps1
psmodules/drivespace.psm1

index f52b61d11fcaff6697d10a1e19d102f51c4ae8fd..6154bc4737955ed811b020821d1c96878995171b 100644 (file)
@@ -11,5 +11,6 @@ OneTrust.ipynb
 *.*~
 *.swp
 vimrc~
+plug.vim
 
-node_modules
\ No newline at end of file
+node_modules
index f6ee52fa086eb2b2dd38844736ee67ebf2150a82..6a1ab946ba983454f6043d9a70209b9e2f3ee25b 100644 (file)
@@ -15,7 +15,7 @@ if(-Not $IsWindows) {
        $IsWindows = ($env:OS -eq "Windows_NT")
 }
 
-$env:src = "~"
+$env:src = "~\src"
 if($IsWindows){
        Write-Host "***Is Windows***"
   $env:src = "c:\src"
@@ -29,6 +29,8 @@ if($IsWindows){
        $ENV:PATH+=";C:\bin\x16emu" # Package management is nice.
        $ENV:PATH+=";C:\Program Files (x86)\GnuWin32\bin" # GNU Utils - i.e. rm
        $ENV:PATH+=";C:\PENGUIN" # Flag to ensure my profile kicked in.
+       $ENV:PATH+=";$env:src\x16-demo\tools" # x16 python tools
+       $ENV:PATH+=";$env:src\chart" # command line chart utility edthedev\chart
 }
 else {
        $ENV:PATH+=":$HOME/x16/x16-emulator" # x16 Emulator
index 19fdc5e5b6648efb75c1737e5eb6547c5209f30c..342311bc046775948a86b3544079365a319f57be 100644 (file)
@@ -5,7 +5,10 @@ Find 10 largest files on the C drive.
 
 #>
 function Show-LargeFiles() {
-        Get-ChildItem c:\ -r| sort -descending -property length | select -first 10 name, Length, FullName
+       param(
+               [int]$Max=10
+       )
+       Get-ChildItem c:\ -r| sort -descending -property length | select -first $Max name, Length, FullName
 }
 
 <#