forgor inputrc, cleanup useless things

This commit is contained in:
Cynthia Foxwell 2023-08-31 22:12:13 -06:00
parent 14b60be2a7
commit 6c2efbd78f
5 changed files with 28 additions and 401 deletions

View file

@ -3,7 +3,7 @@ oh-my-posh init pwsh --config "~\.config\omp\lambda.omp.json" | Invoke-Expressio
# Colors
Set-PSReadlineOption -Colors @{
"InlinePrediction"="`e[90m"
"Command"="`e[96m"
"Command"="`e[39m"
"Parameter"="`e[95m"
"Operator"="`e[95m"
"String"="`e[93m"
@ -29,5 +29,16 @@ Set-Alias which Get-Command
# Environment
[Environment]::SetEnvironmentVariable("GIT_SSH", "$((Get-Command ssh).Source)", [System.EnvironmentVariableTarget]::User)
[Environment]::SetEnvironmentVariable("EDITOR", "nano", [System.EnvironmentVariableTarget]::User)
[Environment]::SetEnvironmentVariable("EDITOR", "nvim", [System.EnvironmentVariableTarget]::User)
[Environment]::SetEnvironmentVariable("BAT_THEME", "base16", [System.EnvironmentVariableTarget]::User)
# Modules
If (-not(Get-Module -ListAvailable -Name syntax-highlighting)) {
Install-Module syntax-highlighting
}
Import-Module syntax-highlighting
If (-not(Get-Module -ListAvailable -Name syntax-highlighting)) {
Install-Module ZLocation
}
Import-Module ZLocation