Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add current/all users/hosts properties to custom host's $PROFILE #1154

Open
dahlbyk opened this issue Feb 1, 2017 · 1 comment
Open

Add current/all users/hosts properties to custom host's $PROFILE #1154

dahlbyk opened this issue Feb 1, 2017 · 1 comment

Comments

@dahlbyk
Copy link

dahlbyk commented Feb 1, 2017

As discussed in dahlbyk/posh-git#358 (comment), the Chocolatey custom host (introduced in 480cf4b) does not set the extra NoteProperty values normally found on a $PROFILE.

The Chocolatey host's $PROFILE is currently set to the CurrentUserCurrentHost value for the default shell (Microsoft.PowerShell). I propose restoring all four standard NoteProperty values, with CurrentHost values aligned with the default shell.

Relevant PowerShell code:

@dahlbyk dahlbyk changed the title Add AllHosts properties to custom host's $PROFILE Add current/all users/hosts properties to custom host's $PROFILE Feb 1, 2017
@ferventcoder ferventcoder added this to the 0.10.x milestone Feb 1, 2017
@ferventcoder
Copy link
Member

@dahlbyk I love it. Also added this to "Up For Grabs" - hint hint ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants