common-utils overwrites .zshrc coming from image built (#1069)
* common-utils overwrites .zshrc coming from image built with common-utils already
* version bumped and added scenario to test the user issue
* cp command failing fix test
* bump version reverted
* fixed the pipeline failures
* discarded diff logic and introduced new one
* Update src/common-utils/main.sh
* instead of overwritting, template file will be appended to existing .zshrc file if INSTALL_OH_MY_ZSH_CONFIG is true
* removed if statement to check .zshrc file exists
* if condition added to check user_rc_file exist
* linter error fixed
* optimize duplication for template_path and user_rc_file logic
---------
Co-authored-by:
Samruddhi Khandale <samruddhikhandale@github.com>
Showing
Please register or sign in to comment