1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| oh-my-posh init pwsh --config 'C:\Users\ccadmin\AppData\Local\Programs\oh-my-posh\themes\ys.omp.json' | Invoke-Expression New-Alias -Name ifconfig -Value ipconfig function sqlmap{ python D:\tools\sqlmap\sqlmap.py @Args } function get_ip{ curl https://www.taobao.com/help/getip.php }
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" if (Test-Path($ChocolateyProfile)) { Import-Module "$ChocolateyProfile" } Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
|