diff --git a/.powershellCore.ps1 b/.powershellCore.ps1 index 41fa8bb..2110fdb 100644 --- a/.powershellCore.ps1 +++ b/.powershellCore.ps1 @@ -270,11 +270,20 @@ function Test-ProgressBar { } } +# make 'ls -la' actually work in powershell since i type it by +# default all the fucking time: +function ls { + param( + [switch] $la + ) + get-childitem +} # Run commands Set-UserPrompt set-alias clerr Clear-Error #C:\Users\me\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 +remove-alias "ls" # Chocolatey profile $ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" @@ -282,4 +291,5 @@ if (Test-Path($ChocolateyProfile)) { Import-Module "$ChocolateyProfile" } -Import-Module 'C:\tools\poshgit\dahlbyk-posh-git-a4faccd\src\posh-git.psd1' \ No newline at end of file +Import-Module 'C:\tools\poshgit\dahlbyk-posh-git-a4faccd\src\posh-git.psd1' +