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

fix(localip): disable localip module default #3607

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

cubercsl
Copy link
Contributor

Description

Disable localip module default as it is documented.

Motivation and Context

As it is documented, the localip modules is disabled by default, but it is not actually disabled if we have no config.

impl<'a> Default for LocalipConfig<'a> {
fn default() -> Self {
LocalipConfig {
ssh_only: true,
format: "[$localipv4]($style) ",
style: "yellow bold",
disabled: true,
}
}
}

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

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.

None yet

3 participants