remove unused lines from profile and add to README
This commit is contained in:
parent
af96764758
commit
370e2d6c58
@ -19,10 +19,7 @@ Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory
|
|||||||
#----------------------
|
#----------------------
|
||||||
# Environment Varaibles
|
# Environment Varaibles
|
||||||
#----------------------
|
#----------------------
|
||||||
$S = "$env:USERPROFILE\src"
|
$EDITOR = "code"
|
||||||
$GOWD = "$env:USERPROFILE\go\src\github.com\lemonase"
|
|
||||||
$GODOTWD = "$env:USERPROFILE\Google Drive\Game Dev"
|
|
||||||
$EDITOR = "gvim"
|
|
||||||
|
|
||||||
#--------
|
#--------
|
||||||
# Aliases
|
# Aliases
|
||||||
@ -35,8 +32,4 @@ New-Alias venvac ".\venv\Scripts\Activate.ps1"
|
|||||||
#----------
|
#----------
|
||||||
# Functions
|
# Functions
|
||||||
#----------
|
#----------
|
||||||
function wd { Set-Location $WD }
|
|
||||||
function gowd { Set-Location $GOWD }
|
|
||||||
function godotwd { Set-Location $GODOTWD }
|
|
||||||
|
|
||||||
function ep { Start-Process "$EDITOR" "$PROFILE" }
|
function ep { Start-Process "$EDITOR" "$PROFILE" }
|
||||||
|
|||||||
10
README.md
10
README.md
@ -1,6 +1,12 @@
|
|||||||
# My (Windows) dotfiles
|
# My Windows "dotfiles"
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
|
||||||
Due to the lack of CLI programs on Windows, I tend to just copy the relevant
|
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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user