Last active
April 28, 2022 11:08
-
-
Save strayge/93180f2a1220c929c940d619fcc2b014 to your computer and use it in GitHub Desktop.
Save to C:\Users\<user>\Documents\WindowsPowerShell
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
function prompt { | |
$p = Split-Path -leaf -path (Get-Location) | |
"PS $p> " | |
} | |
remove-item alias:ls | |
remove-item alias:curl | |
New-Alias curl "$env:USERPROFILE\scoop\shims\curl.exe" | |
remove-item alias:wget | |
New-Alias wget "$env:USERPROFILE\scoop\shims\wget.exe" | |
function ll { & "$env:USERPROFILE\scoop\shims\ls.exe" -lha $args } | |
function dc { | |
$exe = $(which docker-compose); | |
& $exe $args | |
} | |
function venv { | |
$path = (Get-Item .).FullName; | |
& $( $path + "\venv\Scripts\Activate.ps1") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment