Fix some shellcheck errors.
Rename a couple of functions.
Add several kubernetes functions.
Renv is a project for my local environment. To add it to your home environment,
you might add the following lines to your .bashrc
or your .zshrc
file:
if [[ -f "${dir}/env.sh" ]]; then
source ${dir}/env.sh
fi
where dir
is the directory where you cloned the repository.
r_new_password
: Generates a new password using pwgen.r_error
: Shows an error message.r_check_programs
: Checks if a list of programs are installed.r_apt_install
: Install one or more packages.r_apt_remove
: Removes one or more packages.r_install_snap
: Install snap on your computer.r_snap_install
: Install one or more packages using snap.r_snap_remove
: Removes one or more packages using snap.r_install_jq
: Installs jq.r_check_env
: Checks the environment scripts.r_check_shell_script
: Check a shell script with shellcheck.This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.