refactor: standardize shell initialization and improve PATH management

- Consolidate common environment setup across Fish, Bash, and PowerShell
- Improve PATH handling with deduplication and proper ordering
- Clean up TODO.md formatting and organization
- Simplify CUDA and development tool configuration
This commit is contained in:
2025-12-26 14:58:10 -06:00
parent 3365f031f9
commit 9eb11fd025
6 changed files with 160 additions and 130 deletions
@@ -14,9 +14,7 @@ if (Get-Command mise -ErrorAction SilentlyContinue) {
Invoke-Expression (& mise activate pwsh | Out-String)
}
# ----------------------
# Core Aliases
# ----------------------
# Core aliases
Set-Alias -Name nano -Value micro
Set-Alias -Name vim -Value nvim
Set-Alias -Name lg -Value lazygit
@@ -32,16 +30,11 @@ function ll { lsd -AlFh $args }
# Reload shell profile
function es { & $PROFILE }
# ----------------------
# Chezmoi Aliases
# ----------------------
# Chezmoi aliases
Set-Alias -Name ch -Value chezmoi
function cha { chezmoi apply --interactive }
function chlg { lazygit --path {{ .chezmoi.config.sourceDir }} }
# ----------------------
# Windows Terminal
# ----------------------
# Launch Windows Terminal in current directory
function wt {
if ($args.Count -eq 0) {
@@ -51,9 +44,7 @@ function wt {
}
}
# ----------------------
# Git Aliases
# ----------------------
# Git aliases
function ga { git add $args }
function gaa { git add . }
function gaaa { git add --all }