add debug

This commit is contained in:
Jakobus Schürz 2020-01-14 14:47:08 +01:00
parent c7138453ab
commit a7ffcee4b2

View file

@ -230,6 +230,7 @@ sshmyshellconfig() {
[ -e /etc/bashrc ] && . /etc/bashrc
[ -e /etc/bash.bashrc ] && . /etc/bash.bashrc
echo "modify ~/.bashrc"
sed -e '/^if \[ -f ~\/bashrc_add \] /d' ~/.bashrc
sed -i -e '/^if \[ -f ~\/bashrc_add \] /d' ~/.bashrc
sed -i -e '/#MYSHELLCONFIG-start/,/#MYSHELLCONFIG-end/d' ~/.bashrc
echo