Jump to content

posh-p4 - powershell module

powershell command line

  • Please log in to reply
No replies to this topic

#1 Zougi



  • Members
  • Pip
  • 1 posts

Posted 01 March 2016 - 09:36 AM


I made a powershell module to get autocompletion for command line p4.
It also comes with a prompt like we have for git with posh-git

On windows 10 (or if you have .Net 5 installed), you can get it with command line:
Install-Module posh-p4

To activate the prompt, edit your powershell profile
notepad $PROFILE
And add function `Write-P4Prompt` like in the example

Feedbacks are more than welcome!

public repository: https://github.com/Zougi/posh-p4
pull requests are welcome!

PS: For those on powershell inferior to 5, there are manual install instructions on the repository's readme

Also tagged with one or more of these keywords: powershell, command line

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users