Skip to content

Use default config when not set in <alias>.toml#192

Open
patrikhl wants to merge 1 commit intodavrodpin:masterfrom
patrikhl:master
Open

Use default config when not set in <alias>.toml#192
patrikhl wants to merge 1 commit intodavrodpin:masterfrom
patrikhl:master

Conversation

@patrikhl
Copy link
Contributor

Addresses #156

Since the value from alias is always assigned, it overwrites the default value ($HOME/.ssh/config). Checking whether alias.SshConfig is empty before overwriting fixes this.

This PR only addresses SshConfig. I guess it would make sense to go through the other options as well, to see which ones should not always be overwritten.

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.

1 participant