Skip to content

Files

Latest commit

1cad58b · Sep 24, 2022

History

History
54 lines (44 loc) · 1.64 KB

README.md

File metadata and controls

54 lines (44 loc) · 1.64 KB

my_shell_scripts

This repository contains my automations. My daily tasks or frequest tasks are handled by these scripts which are growing each day.

Files

reasy

This script creates react app and clears all boilerplate code and gives me ready to use react project.

reasy project_name

comp

This script is super helpful. Each time I required to create a file for coding I used to create a file then copy paste boilerplate from another file or sometimes code myself. Now, a single command does it.

comp filename.cpp

How??

I keep the scripts in my home ( echo $HOME ) directory and building them keeping this directory as epicentre.

I have 2 components

  • First, the scripts resides in the base directory ( $HOME/scripts ) and all the executables are in bin directory.
  • Second, you have to make all the scripts in bin excutables and also make that folder accessible from anywhere.

Installation instructions

  • Clone this repository in $HOME directory using
    git clone https://github.com/manishsencha/my_shell_scripts.git scripts.
  • Make bin folder executable using
    chmod +x $HOME/scripts/bin/*
  • Make all the bin files accessible from anywhere. This will be done by adding
    export PATH=$PATH:$HOME/scripts/bin
    to the end of ~/.bashrc file.
  • Finally, run source ~/.bashrc. We are good to go. Happy Happy Joy Joy:)