Last active
July 19, 2020 04:41
-
-
Save willwm/33af6c3476d793613bc65e124a2e8f78 to your computer and use it in GitHub Desktop.
User-level PowerShell profile, including aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Helper function to include hidden items (like ls -la) | |
function Get-ChildItemForce | |
{ | |
Get-ChildItem -Force | |
} | |
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/set-alias | |
Set-Alias -Name la -Value Get-ChildItemForce | |
Set-Alias -Name ll -Value Get-ChildItemForce | |
Set-Alias -Name which -Value Get-Command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
References: