Nano framework that allows to install any rc files easely with one liner:
local RC_PATH=...
curl -s https://raw.githubusercontent.com/b0noI/rcinstaller/master/install.sh | bash /dev/stdin "${RC_PATH}"
Overall, the script executes the following steps:
- checks if the ~/.profile.d directory exists and if not - created it;
- adds "[ -f ${HOME}/.profile.d/.sh ] && source ${HOME}/.profile.d/.sh" to the .zshrc (if it is not exists there already);
- same for the .bashrc;
- copies the rc file from the input (or .commonrc if there is no input) from the current directory to the: ~/.profile.d.