Created
February 12, 2023 14:26
-
-
Save Track3/65a9900e8bba8792d8ae26e292d93765 to your computer and use it in GitHub Desktop.
My PowerShell profile
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
Invoke-Expression (&starship init powershell) | |
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete | |
function ^ {explorer.exe .} | |
function now { | |
$now = Get-Date -Format "o" | |
Set-Clipboard $now | |
Write-Output $now | |
} | |
function gitconf {code $HOME/.gitconfig} | |
function proxy { | |
$env:HTTP_PROXY="http://127.0.0.1:10809" | |
$env:HTTPS_PROXY ="https://127.0.0.1:10809" | |
} | |
function scoopclean { | |
scoop cache rm * | |
scoop cleanup * | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment