diff --git a/.gitconfig b/.gitconfig index 161d660..5f1e2d3 100644 --- a/.gitconfig +++ b/.gitconfig @@ -38,9 +38,9 @@ [winUpdater] recentlySeenVersion = 2.25.0.windows.1 [filter "lfs"] - clean = git-lfs clean -- %f - smudge = git-lfs smudge -- %f - process = git-lfs filter-process - required = true + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true [core] - autocrlf = true + autocrlf = true diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 4926c49..b59f2ba 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -19,10 +19,7 @@ Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory #---------------------- # Environment Varaibles #---------------------- -$S = "$env:USERPROFILE\src" -$GOWD = "$env:USERPROFILE\go\src\github.com\lemonase" -$GODOTWD = "$env:USERPROFILE\Google Drive\Game Dev" -$EDITOR = "gvim" +$EDITOR = "code" #-------- # Aliases @@ -35,8 +32,4 @@ New-Alias venvac ".\venv\Scripts\Activate.ps1" #---------- # Functions #---------- -function wd { Set-Location $WD } -function gowd { Set-Location $GOWD } -function godotwd { Set-Location $GODOTWD } - function ep { Start-Process "$EDITOR" "$PROFILE" } diff --git a/README.md b/README.md index 9be926c..5acf8ce 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ -# My (Windows) dotfiles +# My Windows "dotfiles" ## Instructions Due to the lack of CLI programs on Windows, I tend to just copy the relevant -files into my %USERPROFILE% dir and call it a day. +files into my `%USERPROFILE%` dir and call it a day. + +### PowerShell Core + +In PowerShell core, the user configuration profile is located at the variable +`$PROFILE`, which is `$env:USERPROFILE\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` +on my Windows 10 machine.