*nix which analog for powershell
All checks were successful
Build MkDocs / build-and-deploy (push) Successful in 3s
All checks were successful
Build MkDocs / build-and-deploy (push) Successful in 3s
This commit is contained in:
@@ -32,6 +32,12 @@ function python-path {
|
||||
python -c "import sys; print(sys.executable)"
|
||||
}
|
||||
|
||||
# https://stackoverflow.com/a/16949127/17341937
|
||||
function which($name)
|
||||
{
|
||||
Get-Command $name | Select-Object -ExpandProperty Definition
|
||||
}
|
||||
|
||||
# Модуль для автокомплита GIT https://github.com/dahlbyk/posh-git
|
||||
# Устанавливается одной командой
|
||||
# PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force
|
||||
|
||||
Reference in New Issue
Block a user