mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
Sync from Windows
This commit is contained in:
parent
8a7397c426
commit
d5f8d807b9
80 changed files with 6079 additions and 5097 deletions
|
|
@ -1,24 +1,24 @@
|
|||
# $XDG_CONFIG_HOME/powershell/Microsoft.PowerShell_profile.ps1
|
||||
# ln -sf $DOTFILES/mac/Microsoft.PowerShell_profile.ps1 $XDG_CONFIG_HOME/powershell/Microsoft.PowerShell_profile.ps1
|
||||
### 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 }
|
||||
# $XDG_CONFIG_HOME/powershell/Microsoft.PowerShell_profile.ps1
|
||||
# ln -sf $DOTFILES/mac/Microsoft.PowerShell_profile.ps1 $XDG_CONFIG_HOME/powershell/Microsoft.PowerShell_profile.ps1
|
||||
### 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 }
|
||||
Loading…
Add table
Add a link
Reference in a new issue