Handling shellconfigs is a major mess.
Should either fix that or drop it in the upcoming releases, reserving it for future additions.
Shall configs for fish, bash, and zsh needed to been handled gracefully.
I previously wrote it out such that the new configfile would be appended at the end of the current config files (.bashrc for example) after snapshotting the current state.
This proved unsafe, and practically inefficient approach, as files such as .bashrc contain critical information about the work environment.
I need somebody to analyse popular shells' config structures and implementations to come up with a generalised way to handle new configs without breaking workflows
Handling shellconfigs is a major mess.Should either fix that or drop it in the upcoming releases, reserving it for future additions.Shall configs for fish, bash, and zsh needed to been handled gracefully.
I previously wrote it out such that the new configfile would be appended at the end of the current config files (.bashrc for example) after snapshotting the current state.
This proved unsafe, and practically inefficient approach, as files such as .bashrc contain critical information about the work environment.
I need somebody to analyse popular shells' config structures and implementations to come up with a generalised way to handle new configs without breaking workflows