Most of the scripts are only tested on Ubuntu, and may require changes when running on other distros.
You can run individual scripts by curl
.
Take init-ubuntu
as an example:
sudo apt-get update
sudo apt-get install -y curl && bash -c "$(curl -fsSL https://raw.githubusercontent.com/j3soon/linux-scripts/master/init-ubuntu.sh)"
git clone https://github.com/j3soon/linux-scripts.git
cd linux-scripts
You can install the directory to $PATH
:
# If using bash
./install-to-bashrc.sh
# If using zsh
./install-to-zshrc.sh
Install bats.
./test.bats
# or bats test.bats