Skip to content

Latest commit

 

History

History
executable file
·
72 lines (56 loc) · 1.09 KB

README.md

File metadata and controls

executable file
·
72 lines (56 loc) · 1.09 KB

scripts

Bash ustilities.

Installation

git clone https://github.com/civan/scripts.git ~/scripts

PATH

make sure you have the ~/scripts folder in your $PATH. If not, add this in your shell profile file. eg, (~/.bashrc, ~/.zshrc):

 export PATH=$PATH:$HOME/bin:$HOME/scripts

Permisions

Grant the execute permision to the scripts folder:

chmod +x ~/scripts/*

Script List:

grow-use.sh

Lets you to change the current version of grow.

Usage:

grow-use.sh 0.2.1

now you can use 0.2.1 as your main version:

grow --version

grow-install.sh

Installs multiple versions of grow.

Installing 0.2.0 version:

grow-install.sh 0.2.0

Then refresh your shell.

Usage:

grow@0.2.0 --version

symlinks (optional)

You can create symlinks for every scripts you want to use:

ln -s ~/scripts/grow-use.sh ~/bin/grow-use

and

ln -s ~/scripts/grow-install.sh ~/bin/grow-install

then you can use:

grow-use 0.2.0

and

grow-install 0.2.0