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

View File

@ -1,9 +1,6 @@
#!/bin/bash
# FUNCTIONS
if [ -f $HOME/.mybashrc/custom ]; then
. $HOME/.mybashrc/custom
fi
if [ "$(id -u)" != "0" ]; then
IS_SUDOERS=$(groups | grep sudo)
if [ -n "$(command -v sudo)" ] && [ -n "$IS_SUDOERS" ]; then
@ -442,8 +439,7 @@ _SITESPEED() {
}
_NANO() {
[ ! -d "$HOME/.mybashrc/nanobackup" ] && { mkdir -p $HOME/.mybashrc/nanobackup; }
nano -EB -C $HOME/.mybashrc/nanobackup "$@"
nano -E -C "$@"
}
_SETUP_TOOLS() {