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 new features in module #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MemberIT
Copy link

Add validation fg, bg colors and styles (function validate_colors):

Added validation function of input params.

Add feature git-prompt

Add feature set fg, bg colors and styles of present working directory

Rewrite templates/colorprompt.erb:

Now template easier.

Update README

P.S. I'm sorry for a lot of changes on one commit.
P.P.S. Sorry for my English.

Add feature git-prompt;
Add feature set fg, bg colors and styles of present working directory;
Rewrite templates/colorprompt.erb.
@sgnl05
Copy link
Owner

sgnl05 commented Jul 21, 2016

Wow, that's an awesome addition to the module.

I'm on summer vacation right now, but I'll test it and merge it in as soon as I'm back.

Thank you so much!

@MemberIT
Copy link
Author

Thank you. I waiting for you. Have fun in summer vacation.

fail('Value of parameter $custom_usercolors must be not empty!')
} else {
if ( versioncmp($::puppetversion, '4.0.0') >= 0 ) {
$custom_usercolors.each | $user, $colors | {
Copy link
Owner

@sgnl05 sgnl05 Aug 12, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MemberIT I'm getting a syntax error on this line with Puppet version 3.7.2.

Error: Syntax error at '.'; expected '}' at /etc/puppet/modules/colorprompt/manifests/init.pp:169

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

Successfully merging this pull request may close these issues.

2 participants