Skip to content

civan/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
Oct 26, 2017
Jan 17, 2020
Oct 23, 2017
Oct 26, 2017

Repository files navigation

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

About

Shell scripts utilities

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages