- Create a directory for permanent storage (e.g., ~
/scripts
):
mkdir -p ~/scripts
mkdir -p ~/scripts/bin
- Clone this repo:
cd ~/scripts
git clone https://github.com/minhnguyent546/setter-script.git setter
- Create a symbolic link to executable file:
ln -s setter/bin/setter bin/setter
- Finally, add
bin
to yourPATH
variable so you can execute it from any location:
echo 'export PATH="${PATH}:~/scripts/bin"' >> ~/.bashrc
source ~/.bashrc
- Check if it works by running the following command:
setter --version
- Change output alignment for more readability.
- Summary in
setter gen
. - Testing?