PSVirtualEnv_Alias.ps1
# =========================================================================== # PSVirtualEnv_Alias.ps1 -------------------------------------------------- # =========================================================================== # aliases ----------------------------------------------------------------- # --------------------------------------------------------------------------- # define aliases for specific function @( @{ Name = "cd-venv"; Value = "Set-VirtualEnvLocation"} @{ Name = "in-venv"; Value = "Install-VirtualEnv"} @{ Name = "ls-venv"; Value = "Get-VirtualEnv"} @{ Name = "mk-venv"; Value = "New-VirtualEnv"} @{ Name = "rm-venv"; Value = "Remove-VirtualEnv"} @{ Name = "start-venv"; Value = "Start-VirtualEnv"} @{ Name = "stop-venv"; Value = "Stop-VirtualEnv"} ) | ForEach-Object { Set-Alias -Name $_.Name -Value $_.Value } |