mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
22 lines
No EOL
537 B
PowerShell
22 lines
No EOL
537 B
PowerShell
### Variables ###
|
|
|
|
$DOTFILES = "$HOME\.dotfiles"
|
|
|
|
### Load Configs ###
|
|
|
|
Get-ChildItem -Path $DOTFILES\powershell -Filter *.ps1 | ForEach-Object {. $_}
|
|
Get-ChildItem -Path $DOTFILES\powershell_private -Filter *.ps1 | ForEach-Object {. $_}
|
|
|
|
## Aliases ###
|
|
|
|
# PowerShell Equivalents #
|
|
|
|
# Set-Alias "curl" "Invoke-WebRequest"
|
|
# Set-Alias "man" "Get-Help"
|
|
Set-Alias "kill" "Stop-Process"
|
|
Set-Alias "open" "Invoke-Item" # Use ii instead of open
|
|
|
|
# Dev #
|
|
|
|
${function:zshcfg} = { nvim ~/.zshrc }
|
|
${function:bashcfg} = { nvim ~/.bashrc } |