Powershell for GitHub setup -


i installed github windows , convenience added entries powershell in context menu in windows explorer. registry commands are:

c:\windows\system32\windowspowershell\v1.0\powershell.exe -noexit  c:\\windows\\system32\\windowspowershell\\v1.0\\powershell.exe -noexit -command set-location -literalpath '%l' 

as suggested in shell.ps1 added ". (resolve-path "$env:localappdata\github\shell.ps1")" profile.ps1 poshgit , rest setup within powershell environment. not working though. can see shell.ps1 executed (when running "$env:github_posh_git" see right value appearing) when navigate git repo not see enhanced prompt.

what missing?

ps: version of powershell have came github windows , though folder says "1.0" running

 $psversiontable.psversion 

returned

major  minor  build  revision -----  -----  -----  -------- 2      0      -1     -1 

i got answer github support:

the enhanced prompt provided posh-git [1], , isn't added when run line in shell.ps1. however, it's easy enough install.

just cd c:\users\username\appdata\github\poshgit_* , run install.ps1 script powershell. add powershell $profile automatically.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -