add cleanup

This commit is contained in:
Jakobus Schürz 2020-01-15 01:46:55 +01:00
parent ae02743831
commit 3c5d5110a0

View file

@ -236,6 +236,9 @@ sshmyshellconfig() {
#printf "%s" "[ -f bashrc_add ] && . bashrc_add" | tee -a ~/.bashrc
printf "%s\n" "#MYSHELLCONFIG-start" "if [ -e \${HOME}/${MYSHELLCONFIG_SUBPATH}/bashrc_add ]; then" " . \${HOME}/${MYSHELLCONFIG_SUBPATH}/bashrc_add;" "else" " if [ -f ~/bashrc_add ] ;then" " . ~/bashrc_add;" " fi;" "fi" "#MYSHELLCONFIG-end" |tee -a ~/.bashrc
echo
echo cleanup from old config
rm ~/bashrc_add && echo rm ~/bashrc_add
rm -rf ~/server-config && echo rm -rf ~/server-config
EOF