remove unused lines from profile and add to README

This commit is contained in:
James Dixon 2021-09-26 19:44:17 -04:00
parent af96764758
commit 370e2d6c58
3 changed files with 14 additions and 15 deletions

View File

@ -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" }

View File

@ -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.