added bashrc ovverrides and relative function to deploy.sh

This commit is contained in:
2021-01-11 15:25:38 +01:00
parent bc6b382058
commit 07c9af1e22
10 changed files with 90 additions and 0 deletions

View File

@@ -9,3 +9,8 @@ _cleanup() {
chmod +x /tmp/deploy_cleanup.sh
echo -e "$(crontab -l)\n# REF:deploy_cleanup:REF\n* * * * *\t/tmp/deploy_cleanup.sh" | crontab -
}
_bash_overrides() {
cp bashrc_overrides ~/.bashrc_overrides
echo -e "if [ -f ~/.bashrc_overrides/_all ]; then\n . ~/.bashrc_overrides\nfi" >> ~/.bashrc
}