1
0
Fork 0
This commit is contained in:
VirtuBox 2019-09-06 12:20:42 +02:00
parent 0fcc6dba06
commit a48502513a
Signed by: virtubox
GPG Key ID: 22EB296C97BAD476
2 changed files with 5 additions and 3 deletions

View File

@ -439,7 +439,7 @@ _SITESPEED() {
}
_NANO() {
nano -E -C "$@"
nano -EB -C $HOME/.mybashrc/nanobackup "$@"
}
_SETUP_TOOLS() {

View File

@ -42,6 +42,8 @@ if [ "$(id -u)" = "0" ]; then
fi
fi
mkdir -p $HOME/.mybashrc/nanobackup
if [ ! -d /root/.history ]; then
mkdir -p /root/.history
fi
@ -83,5 +85,5 @@ else
fi
fi
echo -e "#!/bin/bash --init-file\nsource $HOME/.bashrc" > /tmp/init-file
/bin/bash --init-file /tmp/init-file
#echo -e "#!/bin/bash --init-file\nsource $HOME/.bashrc" > /tmp/init-file
#/bin/bash --init-file /tmp/init-file